Sha256: 03f38a53c3afe60840b1f691410f00378f8e612659314f78d1f579197cd5991c
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 Bytes
Contents
require 'assert' require 'sanford-protocol/test/helpers' class Sanford::Worker class BaseTests < Assert::Context include Sanford::Protocol::Test::Helpers 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_instance_methods :logger, :run end # `Worker`'s logic is tested in the system test: `request_handling_test.rb` end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sanford-0.8.0 | test/unit/worker_tests.rb |