Sha256: 835f8143cc8efb8653dc0fe11479ffbb4c49efec26e6c3068270fe9d0f9ce801
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
require 'assert' require 'ostruct' class Sanford::Manager class BaseTest < Assert::Context desc "Sanford::Manager" setup do @dummy_host = DummyHost @manager = Sanford::Manager.new(@dummy_host) end subject{ @manager } should have_instance_methods :host, :process_name, :call should have_class_methods :call end # Sanford::Manager#call methods are tested in the test/system/managing_test.rb # they require mocking the Daemons gem end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sanford-0.1.0 | test/unit/manager_test.rb |