diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-10 14:16:40 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-10 14:16:40 +0200 |
commit | 4a2b7cef5721a4524ae829e1227c7aa7e16a426a (patch) | |
tree | b9b1c81b98d6aa254c1f114e4657d68b97fab6f5 /features | |
parent | b716e45de1c4930880735726f0271b9ce5d2f29a (diff) | |
parent | 151d9fb35fd66a161cf0e1f95d7b0f0448ca8034 (diff) | |
download | gitlab-ce-4a2b7cef5721a4524ae829e1227c7aa7e16a426a.tar.gz |
Merge branch 'master' into check-out-branch-buttoncheck-out-branch-button
Diffstat (limited to 'features')
-rw-r--r-- | features/profile/profile.feature | 2 | ||||
-rw-r--r-- | features/steps/profile/profile.rb | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/features/profile/profile.feature b/features/profile/profile.feature index 7a1345f2b37..27c0bde364e 100644 --- a/features/profile/profile.feature +++ b/features/profile/profile.feature @@ -35,6 +35,7 @@ Feature: Profile Then I change my avatar And I should see new avatar And I should see the "Remove avatar" button + And I should see the gravatar host link Scenario: I remove my avatar Given I visit profile page @@ -42,6 +43,7 @@ Feature: Profile When I remove my avatar Then I should see my gravatar And I should not see the "Remove avatar" button + And I should see the gravatar host link Scenario: My password is expired Given my password is expired diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index 2b6b8b167f6..8cf24705a5e 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -59,6 +59,10 @@ class Spinach::Features::Profile < Spinach::FeatureSteps step 'I should not see the "Remove avatar" button' do expect(page).not_to have_link("Remove avatar") end + + step 'I should see the gravatar host link' do + expect(page).to have_link("gravatar.com") + end step 'I try change my password w/o old one' do page.within '.update-password' do |