spec/unit/plugins_spec.rb in automateit-0.71006 vs spec/unit/plugins_spec.rb in automateit-0.71012
- old
+ new
@@ -243,9 +243,14 @@
end
it "should share object instances" do
@m[:my_first_driver].should == @m.interpreter.my_manager[:my_first_driver]
end
+
+ it "should have a manager" do
+ @m[:my_first_driver].manager.should == @m
+ end
+
end
describe AutomateIt::Interpreter do
before(:all) do
@a = AutomateIt::Interpreter.new