test/integration/navigation_test.rb in streamit-0.0.6.2 vs test/integration/navigation_test.rb in streamit-0.0.7

- old
+ new

@@ -22,21 +22,21 @@ visit "/streamit/fetch?limit=2" assert page.has_selector?("li.stream", :count => 2), "Expected 2 streams, Got:\n#{page.body.inspect}" end should "fetch streams in last ? seconds" do - Timecop.freeze(Time.now - 30.seconds) do + Timecop.freeze(Time.now - 31.seconds) do register_new_user end register_new_user register_new_user wait_and_finish visit "/streamit/fetch?ago=30" assert page.has_selector?("li.stream", :count => 2), "Expected 2 streams, Got:\n#{page.body.inspect}" end should "fetch limited number of streams in last ? seconds" do - Timecop.freeze(Time.now - 30.seconds) do + Timecop.freeze(Time.now - 31.seconds) do register_new_user end register_new_user register_new_user register_new_user