summaryrefslogtreecommitdiff
path: root/features/steps/profile/profile.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 17:01:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 17:01:04 +0300
commite50c0d5cb7bcdc1131dae8cd5d5de2947732cda8 (patch)
tree94fd233b793f7163bf395ec012d0f0745e8538d6 /features/steps/profile/profile.rb
parentffec158de4c6a78dfa17ae0063d8f796c21a58c8 (diff)
downloadgitlab-ce-e50c0d5cb7bcdc1131dae8cd5d5de2947732cda8.tar.gz
Fix spinach profile tests
Diffstat (limited to 'features/steps/profile/profile.rb')
-rw-r--r--features/steps/profile/profile.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb
index ea7550a6f22..753e2c19bcb 100644
--- a/features/steps/profile/profile.rb
+++ b/features/steps/profile/profile.rb
@@ -133,8 +133,12 @@ class Profile < Spinach::FeatureSteps
current_path.should == new_user_session_path
end
+ step 'I should be redirected to password page' do
+ current_path.should == edit_profile_password_path
+ end
+
step 'I should be redirected to account page' do
- current_path.should == account_profile_path
+ current_path.should == profile_account_path
end
step 'I click on my profile picture' do