mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-11 07:02:36 +01:00
move the two toggle links in top-right to view menu
This commit is contained in:
parent
7084c11263
commit
be1a9528d5
6 changed files with 30 additions and 11 deletions
|
|
@ -30,7 +30,7 @@ When /^I edit the first note to "([^"]*)"$/ do |note_body|
|
|||
end
|
||||
end
|
||||
|
||||
When /^I toggle the note of "([^"]*)"$/ do |todo_description|
|
||||
When(/^I toggle the note of "([^"]*)"$/) do |todo_description|
|
||||
todo = @current_user.todos.where(:description => todo_description).first
|
||||
todo.should_not be_nil
|
||||
|
||||
|
|
@ -39,7 +39,9 @@ When /^I toggle the note of "([^"]*)"$/ do |todo_description|
|
|||
end
|
||||
|
||||
When /^I click Toggle Notes$/ do
|
||||
click_link 'Toggle notes'
|
||||
open_view_menu do
|
||||
click_link 'Toggle notes'
|
||||
end
|
||||
end
|
||||
|
||||
When /^I toggle all notes$/ do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue