get all scenario's running again, first pass.

This commit is contained in:
Reinier Balt 2013-03-17 15:41:36 +01:00
parent ede898120c
commit 0a9755c8a3
27 changed files with 90 additions and 90 deletions

View file

@ -153,12 +153,12 @@ Then /^I should see "([^"]*)" in the completed section of the mobile site$/ do |
end
Then /^I should (see|not see) empty message for (completed todos|todos) of home/ do |visible, kind_of_todo|
elem = find(kind_of_todo=="todos" ? "div#no_todos_in_view" : "div#empty-d")
elem = find(kind_of_todo=="todos" ? "div#no_todos_in_view" : "div#completed_container-empty-d")
elem.send(visible=="see" ? "should" : "should_not", be_visible)
end
Then /^I should (see|not see) the empty tickler message$/ do |see|
elem = find("div#tickler-empty-nd")
elem = find("div#no_todos_in_view")
elem.send(see=="see" ? "should" : "should_not", be_visible)
end