Small updates to infinite scroll feature

This commit is contained in:
Sarah Mei 2011-05-14 16:58:37 -07:00
parent 7e6cae9f96
commit 00d89b0207
2 changed files with 5 additions and 1 deletions

View file

@ -72,7 +72,7 @@ Feature: infinite scroll
Then I should see "No more"
Scenario: On a tag page
And I am on the tag page for "seeded"
When I go to the tag page for "seeded"
Then I should see 15 posts
And I should see "alice - 15 - #seeded"

View file

@ -198,3 +198,7 @@ And /^I scroll down$/ do
sleep 1
wait_until(10) { evaluate_script('$("#infscr-loading:visible").length') == 0 }
end
When /^I wait for (\d+) seconds$/ do |seconds|
sleep seconds.to_i
end