mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
16 lines
589 B
Ruby
16 lines
589 B
Ruby
|
|
When /^I edit my last name to "([^"]*)"$/ do |last_name|
|
||
|
|
fill_in "user[last_name]", :with => last_name
|
||
|
|
click_button "prefs_submit"
|
||
|
|
end
|
||
|
|
|
||
|
|
When /^I set the password and confirmation to "([^"]*)"$/ do |new_password|
|
||
|
|
When "I set the password to \"#{new_password}\" and confirmation to \"#{new_password}\""
|
||
|
|
end
|
||
|
|
|
||
|
|
When /^I set the password to "([^"]*)" and confirmation to "([^"]*)"$/ do |new_password, new_password_confirmation|
|
||
|
|
fill_in "user[password]", :with => new_password
|
||
|
|
fill_in "user[password_confirmation]", :with => new_password_confirmation
|
||
|
|
click_button "prefs_submit"
|
||
|
|
end
|
||
|
|
|