Some checks failed
Ruby / Ruby ${{ matrix.ruby }} (3.4.1) (push) Failing after 9m36s
15 lines
363 B
Ruby
15 lines
363 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", [])
|
|
expect(a.connect).to eq(true)
|
|
puts a.list_tools
|
|
puts a.tools.fetch(url: 'http://example.com')
|
|
end
|
|
end
|