Sha256: 6ed5b116349334af511bb8f944fc3afae21cbd2531cf0a2ba74d95d3c66b8f04
Contents?: true
Size: 559 Bytes
Versions: 4
Compression:
Stored size: 559 Bytes
Contents
require 'assert' require 'sanford-protocol/test/helpers' class Sanford::Worker class BaseTest < Assert::Context include Sanford::Protocol::Test::Helpers desc "Sanford::Worker" setup do @host_data = Sanford::HostData.new(TestHost) @connection = FakeConnection.with_request('version', 'service', {}) @worker = Sanford::Worker.new(@host_data, @connection) end subject{ @worker } should have_instance_methods :logger, :run end # `Worker`'s logic is tested in the system test: `request_handling_test.rb` end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sanford-0.6.3 | test/unit/worker_test.rb |
sanford-0.6.2 | test/unit/worker_test.rb |
sanford-0.6.1 | test/unit/worker_test.rb |
sanford-0.6.0 | test/unit/worker_test.rb |