spec/lib/gametel/waiter_spec.rb in gametel-0.5.6 vs spec/lib/gametel/waiter_spec.rb in gametel-0.5.7

- old
+ new

@@ -16,6 +16,10 @@ end it "is not as forgiving if you make it wait" do lambda { wait_until(0) }.should raise_error end + + it "can be told what it is waiting on" do + lambda { wait_until(0, "something to happen") }.should raise_error "Timed out waiting for something to happen" + end end