summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-24 10:48:36 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-24 10:48:36 +0300
commit642398285d21221186ad988198e85a5b60838f86 (patch)
treebc43a955d31f3cc023ef68bd2f837f9d6acba207 /features/profile
parent0630be3828998af1261b87ae85b42c0ef9a439ed (diff)
downloadgitlab-ce-642398285d21221186ad988198e85a5b60838f86.tar.gz
Force user to provide old password in order to change it
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/profile.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/profile/profile.feature b/features/profile/profile.feature
index 3b61552a73d..c74b0993fb3 100644
--- a/features/profile/profile.feature
+++ b/features/profile/profile.feature
@@ -11,6 +11,12 @@ Feature: Profile
Then I change my contact info
And I should see new contact info
+ Scenario: I change my password without old one
+ Given I visit profile account page
+ When I try change my password w/o old one
+ Then I should see a missing password error message
+ And I should be redirected to account page
+
Scenario: I change my password
Given I visit profile account page
Then I change my password