14 lines
329 B
Ruby
14 lines
329 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe Mcp do
|
|
it "has a version number" do
|
|
expect(distance([1, 1], [1, 2])).to eq(1)
|
|
end
|
|
|
|
it "does something useful" do
|
|
a = Mcp::Client.new("/Users/joshuacoles/.local/bin/mcp-server-fetch", [])
|
|
puts a.list_tools
|
|
puts a.tools.fetch(url: 'http://example.com')
|
|
end
|
|
end
|