Fix regressions and refactorings

This commit is contained in:
Reinier Balt 2012-03-19 14:05:54 +01:00
parent 41ebd2ec9b
commit ca7d81d75a
21 changed files with 259 additions and 397 deletions

View file

@ -72,17 +72,17 @@ Then /^he should see that a context named "([^\"]*)" is not present$/ do |contex
end
Then /^I should not see empty message for todos of context/ do
find("div#c#{@context.id}empty-nd").should_not be_visible
page.should_not have_css("div#c#{@context.id}empty-nd", :visible=>true)
end
Then /^I should see empty message for todos of context/ do
find("div#c#{@context.id}empty-nd").should be_visible
page.should have_css("div#c#{@context.id}empty-nd", :visible => true)
end
Then /^I should not see empty message for completed todos of context$/ do
find("div#empty-d").should_not be_visible
page.should_not have_css("div#empty-d", :visible=>true)
end
When /^I should see empty message for completed todos of context$/ do
find("div#empty-d").should be_visible
page.should have_css("div#empty-d", :visible=>true)
end