spec/monitors/misc_monitor_spec.rb in auser-poolparty-0.0.8 vs spec/monitors/misc_monitor_spec.rb in auser-poolparty-0.0.9
- old
+ new
@@ -16,9 +16,10 @@
PoolParty.register_monitor Database
describe "monitors (random, to spec the inclusion)" do
describe "when included" do
before(:each) do
+ stub_option_load
@master = Master.new
@instance = RemoteInstance.new
end
it "should include them in the Monitors module" do
@master.methods.include?("db").should == true
\ No newline at end of file