mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-22 00:36:12 +01:00
fix failing cucumber scenario
This commit is contained in:
parent
1e7e925c39
commit
44c602e2ca
3 changed files with 18 additions and 10 deletions
|
|
@ -9,8 +9,9 @@ When /^I delete the action "([^"]*)"$/ do |action_description|
|
|||
todo.should_not be_nil
|
||||
|
||||
handle_js_confirm do
|
||||
open_submenu_for(todo)
|
||||
click_link "delete_todo_#{todo.id}"
|
||||
open_submenu_for(todo) do
|
||||
click_link "delete_todo_#{todo.id}"
|
||||
end
|
||||
end
|
||||
get_confirm_text.should == "Are you sure that you want to delete the action '#{todo.description}'?"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue