mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-19 13:48:09 +01:00
add cucumber tests for switching single and multiple actions forms
This commit is contained in:
parent
26cd345cbe
commit
c9ce82d533
7 changed files with 118 additions and 7 deletions
|
|
@ -21,6 +21,11 @@ When /^I visit the "([^\"]*)" project$/ do |project_name|
|
|||
visit project_path(@project)
|
||||
end
|
||||
|
||||
When /^I visit the project page for "([^"]*)"$/ do |project_name|
|
||||
When "I visit the \"#{project_name}\" project"
|
||||
end
|
||||
|
||||
|
||||
When /^I edit the project description to "([^\"]*)"$/ do |new_description|
|
||||
click_link "link_edit_project_#{@project.id}"
|
||||
fill_in "project[description]", :with => new_description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue