Maybe...we're not waiting long enough on CI? It is a very slow box.

This commit is contained in:
Sarah Mei 2011-07-14 19:09:14 -07:00
parent 6974b205a1
commit 088e2dfdb4

View file

@ -160,7 +160,7 @@ Then /^the "([^"]*)" field(?: within "([^"]*)")? should be filled with "([^"]*)"
end
Then /^I should see (\d+) posts$/ do |n_posts|
all("#main_stream .stream_element").length.should == n_posts.to_i
wait_until(10) { all("#main_stream .stream_element").length == n_posts.to_i }
end
And /^I scroll down$/ do