spec/lib/flapjack/data/contact_spec.rb in flapjack-0.7.18 vs spec/lib/flapjack/data/contact_spec.rb in flapjack-0.7.19

- old
+ new

@@ -207,9 +207,10 @@ :redis => @redis) ec = Flapjack::Data::EntityCheck.for_entity_name(entity_name, 'PING', :redis => @redis) t = Time.now.to_i ec.update_state('ok', :timestamp => t, :summary => 'a') + ec.last_update = t contact = Flapjack::Data::Contact.find_by_id('362', :redis => @redis) eandcs = contact.entities(:checks => true) eandcs.should_not be_nil eandcs.should be_an(Array)