summaryrefslogtreecommitdiff
path: root/features/steps/admin/settings.rb
blob: e8168e85def17c8e72056793acd86f357cec0a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Spinach::Features::AdminSettings < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedPaths
  include SharedAdmin
  include Gitlab::CurrentSettings

  step 'I disable gravatars and save form' do
    uncheck 'Gravatar enabled'
    click_button 'Save'
  end

  step 'I should be see gravatar disabled' do
    current_application_settings.gravatar_enabled.should be_false
    page.should have_content 'Application settings saved successfully'
  end
end