rename lib/{model_context_protocol => mcp}
This commit is contained in:
parent
a09f4786b4
commit
9d2447b351
1 changed files with 62 additions and 63 deletions
|
|
@ -1,16 +1,16 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "test_helper"
|
||||
require "model_context_protocol/transports/stdio"
|
||||
require "mcp/transports/stdio"
|
||||
require "json"
|
||||
|
||||
module ModelContextProtocol
|
||||
module MCP
|
||||
module Transports
|
||||
class StdioTransportTest < ActiveSupport::TestCase
|
||||
include InstrumentationTestHelper
|
||||
|
||||
setup do
|
||||
configuration = ModelContextProtocol::Configuration.new
|
||||
configuration = MCP::Configuration.new
|
||||
configuration.instrumentation_callback = instrumentation_helper.callback
|
||||
@server = Server.new(name: "test_server", configuration: configuration)
|
||||
@transport = StdioTransport.new(@server)
|
||||
|
|
|
|||
Loading…
Reference in a new issue