migrate preferences, project_* and recurring todo features

This commit is contained in:
Reinier Balt 2012-03-01 20:31:16 +01:00
parent d528a87cee
commit cbe372cba0
17 changed files with 334 additions and 384 deletions

View file

@ -15,22 +15,6 @@ Then /the badge should show (.*)/ do |number|
badge.should == number.to_i
end
Then /^I should see the empty message in the deferred container$/ do
page.should have_xpath("//div[@id='tickler']//div[@id='tickler-empty-nd']")
end
Then /^I should see the empty tickler message$/ do
wait_for :timeout => 5 do
selenium.is_visible("xpath=//div[@id='tickler-empty-nd']")
end
end
Then /^I should not see the empty tickler message$/ do
wait_for :timeout => 5 do
!selenium.is_visible("xpath=//div[@id='tickler-empty-nd']")
end
end
Then /^I should see an error flash message saying "([^"]*)"$/ do |message|
xpath = "//div[@id='message_holder']/h4[@id='flash']"
text = page.find(:xpath, xpath).text
@ -41,3 +25,6 @@ Then /^I should see "([^"]*)" $/ do |text|
Then "I should see \"#{text}\""
end
Then /^I should save and open the page$/ do
save_and_open_page
end