spec/lib/flapjack/gateways/web_spec.rb in flapjack-0.7.28 vs spec/lib/flapjack/gateways/web_spec.rb in flapjack-0.7.29

- old
+ new

@@ -34,10 +34,10 @@ end def expect_stats redis.should_receive(:dbsize).and_return(3) redis.should_receive(:keys).with('executive_instance:*').and_return(["executive_instance:foo-app-01"]) - redis.should_receive(:hget).twice.and_return(Time.now.to_i - 60) + redis.should_receive(:hget).once.and_return(Time.now.to_i - 60) redis.should_receive(:hgetall).twice.and_return({'all' => '8001', 'ok' => '8002'}, {'all' => '9001', 'ok' => '9002'}) redis.should_receive(:llen).with('events') end