test/unit/connection_tests.rb in sanford-protocol-0.6.0 vs test/unit/connection_tests.rb in sanford-protocol-0.7.0

- old
+ new

@@ -1,11 +1,11 @@ require 'assert' require 'sanford-protocol/connection' class Sanford::Protocol::Connection - class BaseTests < Assert::Context + class UnitTests < Assert::Context desc "Sanford::Protocol::Connection" setup do setup_some_msg_data @socket = FakeSocket.new(@msg) @connection = Sanford::Protocol::Connection.new(@socket) @@ -37,10 +37,10 @@ assert @socket.write_stream_closed? end end - class RealConnectionTests < BaseTests + class RealConnectionTests < UnitTests def start_server(options, &block) begin # this `fork` is a separate process, so it runs parallel to the code # after it's block