Sha256: 65e0de966fcf219264da9281b1dac2b30ea6dc8d19f6bc9c3aa903af6c9f5270
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require 'assert' require 'sanford-protocol/test/helpers' class Sanford::Connection class BaseTest < Assert::Context include Sanford::Protocol::Test::Helpers desc "Sanford::Connection" setup do @fake_socket = self.fake_socket_with_request('v1', 'echo', { :message => 'test' }) @connection = Sanford::Connection.new(DummyHost.new, @fake_socket) end subject{ @connection } should have_instance_methods :service_host, :exception_handler, :logger, :process, :timeout end # The system test `test/system/request_handling_test.rb`, covers all the # special requests that can occur when given all sorts of invalid requests. end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sanford-0.1.0 | test/unit/connection_test.rb |