summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@buckle.com>2013-12-02 12:03:07 -0600
committerDrew Blessing <drew.blessing@buckle.com>2013-12-02 16:20:34 -0600
commitb08608b261f8c9c552d8957b6231c7725b9529ac (patch)
tree566e2ba56ae1ed23305ea5e897f859e8e782a29b /features/profile
parente411f3bab2c20ba22b838bb025fa33e980470d20 (diff)
downloadgitlab-ce-b08608b261f8c9c552d8957b6231c7725b9529ac.tar.gz
Issue 5716 - Allow removal of avatar
Add class and style Add spinach tests Add entry to CHANGELOG Add entry to CHANGELOG
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/profile.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/profile/profile.feature b/features/profile/profile.feature
index 6198fd2b306..6b0421a20b3 100644
--- a/features/profile/profile.feature
+++ b/features/profile/profile.feature
@@ -26,6 +26,14 @@ Feature: Profile
Given I visit profile page
Then I change my avatar
And I should see new avatar
+ And I should see the "Remove avatar" button
+
+ Scenario: I remove my avatar
+ Given I visit profile page
+ And I have an avatar
+ When I remove my avatar
+ Then I should see my gravatar
+ And I should not see the "Remove avatar" button
Scenario: My password is expired
Given my password is expired