diff options
author | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2015-08-05 00:48:16 -0700 |
---|---|---|
committer | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2015-08-05 00:48:16 -0700 |
commit | 0f785bbc7ecf932e81c84ec98636ffd305994b47 (patch) | |
tree | b6b2e70cf0c1897ca30bfea68891ff266059d77c /features | |
parent | 88a3cfe1070bbd7db450f68b8fc2b509c795e413 (diff) | |
download | gitlab-ce-0f785bbc7ecf932e81c84ec98636ffd305994b47.tar.gz |
ink to configured gravatar host on profile page
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 |