Sha256: b30cbd507398f7f43da54551aa7ebba7c250c2fe8fcaeabd362119a7981b376d
Contents?: true
Size: 545 Bytes
Versions: 3
Compression:
Stored size: 545 Bytes
Contents
require 'assert' require 'sanford/worker' require 'sanford/host_data' require 'test/support/fake_connection' class Sanford::Worker class UnitTests < Assert::Context desc "Sanford::Worker" setup do @host_data = Sanford::HostData.new(TestHost) @connection = FakeConnection.with_request('service', {}) @worker = Sanford::Worker.new(@host_data, @connection) end subject{ @worker } should have_imeths :logger, :run end # `Worker`'s logic is tested in the system test: `request_handling_test.rb` end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sanford-0.10.1 | test/unit/worker_tests.rb |
sanford-0.10.0 | test/unit/worker_tests.rb |
sanford-0.9.0 | test/unit/worker_tests.rb |