diff options
author | Patricio Cano <patricio@gitlab.com> | 2014-10-22 20:39:02 -0500 |
---|---|---|
committer | Patricio Cano <patricio@gitlab.com> | 2014-10-22 20:39:02 -0500 |
commit | 7039c9868a3209d89f8306c65ca5b74f8e2ea2c0 (patch) | |
tree | aa9f2c79b84374b1c86704a8d2abc0d0f6e41526 /features/steps/profile/profile.rb | |
parent | 10528341c296fafca8388159d7b0023cd2ffb1cb (diff) | |
download | gitlab-ce-7039c9868a3209d89f8306c65ca5b74f8e2ea2c0.tar.gz |
Updated the IDs of the fields, so that it wouldn't mess with many tests
Updated some tests to match new IDs
Diffstat (limited to 'features/steps/profile/profile.rb')
-rw-r--r-- | features/steps/profile/profile.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index adfaefb1644..0f7f33fe8ce 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -58,7 +58,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps step 'I try change my password w/o old one' do within '.update-password' do - fill_in "user_password", with: "22233344" + fill_in "user_password_profile", with: "22233344" fill_in "user_password_confirmation", with: "22233344" click_button "Save" end @@ -67,7 +67,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps step 'I change my password' do within '.update-password' do fill_in "user_current_password", with: "12345678" - fill_in "user_password", with: "22233344" + fill_in "user_password_profile", with: "22233344" fill_in "user_password_confirmation", with: "22233344" click_button "Save" end @@ -76,7 +76,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps step 'I unsuccessfully change my password' do within '.update-password' do fill_in "user_current_password", with: "12345678" - fill_in "user_password", with: "password" + fill_in "user_password_profile", with: "password" fill_in "user_password_confirmation", with: "confirmation" click_button "Save" end |