diff options
author | Sarah Mei <sarahmei@gmail.com> | 2011-07-15 06:09:14 +0400 |
---|---|---|
committer | Sarah Mei <sarahmei@gmail.com> | 2011-07-15 06:09:14 +0400 |
commit | 088e2dfdb4d4df962cd8ea983af5f7d1b8986b0d (patch) | |
tree | 0b635876311102712085336037a5899ca5cc83cd /features | |
parent | 6974b205a1e498938c2a07ed356c33dea7810ef6 (diff) |
Maybe...we're not waiting long enough on CI? It is a very slow box.
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/custom_web_steps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb index 9bdd48459..63c0e9b34 100644 --- a/features/step_definitions/custom_web_steps.rb +++ b/features/step_definitions/custom_web_steps.rb @@ -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 |