spec/lib/flapjack/gateways/web_spec.rb in flapjack-0.7.7 vs spec/lib/flapjack/gateways/web_spec.rb in flapjack-0.7.8
- old
+ new
@@ -120,9 +120,10 @@
expect_check_stats
entity_check.should_receive(:state).and_return('ok')
entity_check.should_receive(:last_update).and_return(time - (3 * 60 * 60))
entity_check.should_receive(:last_change).and_return(time - (3 * 60 * 60))
entity_check.should_receive(:summary).and_return('all good')
+ entity_check.should_receive(:details).and_return('seriously, all very wonderful')
entity_check.should_receive(:last_notifications_of_each_type).and_return(last_notifications)
entity_check.should_receive(:maintenances).with(nil, nil, :scheduled => true).and_return([])
entity_check.should_receive(:failed?).and_return(false)
entity_check.should_receive(:current_maintenance).with(:scheduled => true).and_return(false)
entity_check.should_receive(:current_maintenance).with(:scheduled => false).and_return(false)