test/unit/manager_test.rb in sanford-0.1.0 vs test/unit/manager_test.rb in sanford-0.2.0
- old
+ new
@@ -1,14 +1,14 @@
require 'assert'
-require 'ostruct'
+require 'sanford/manager'
+
class Sanford::Manager
class BaseTest < Assert::Context
desc "Sanford::Manager"
setup do
- @dummy_host = DummyHost
- @manager = Sanford::Manager.new(@dummy_host)
+ @manager = Sanford::Manager.new(TestHost)
end
subject{ @manager }
should have_instance_methods :host, :process_name, :call
should have_class_methods :call