mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-28 03:36:11 +01:00
Fix #1041
This commit is contained in:
parent
f10a98d8ac
commit
1cd748d7a2
3 changed files with 11 additions and 4 deletions
|
|
@ -30,7 +30,10 @@ end
|
|||
When /^I edit the project name to "([^\"]*)"$/ do |new_title|
|
||||
click_link "link_edit_project_#{@project.id}"
|
||||
fill_in "project[name]", :with => new_title
|
||||
click_button "submit_project_#{@project.id}"
|
||||
selenium.click "submit_project_#{@project.id}",
|
||||
:wait_for => :text,
|
||||
:element => "flash",
|
||||
:text => "Project saved"
|
||||
end
|
||||
|
||||
Then /^I should see the bold text "([^\"]*)" in the project description$/ do |bold|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue