consume confirmation dialog when deleting note

This commit is contained in:
Reinier Balt 2010-02-02 23:43:18 +01:00
parent 8f349d3b6b
commit 226d902127
3 changed files with 8 additions and 10 deletions

View file

@ -45,6 +45,7 @@ end
When /^I delete the first note$/ do
click_link "delete note"
selenium.get_confirmation.should == "Are you sure that you want to delete the note '1'?"
end
Then /^the first note should disappear$/ do