diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-02-03 03:56:11 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-03 14:20:59 +0300 |
commit | 56bcb3e8c87bf25cb33ed02832c146e966cc4d7d (patch) | |
tree | bb8aadd524ab052da693ef28e0cfc390024edb70 /spec/features/admin | |
parent | bf278f791b0f112c79e8cdeaa82db91ae2af4fe4 (diff) |
Use Gitlab::CurrentSettings instead of current_application_settings
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_settings_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb index 3da2f4e2fdb..39b213988f0 100644 --- a/spec/features/admin/admin_settings_spec.rb +++ b/spec/features/admin/admin_settings_spec.rb @@ -52,8 +52,8 @@ feature 'Admin updates settings' do fill_in 'Auto devops domain', with: 'domain.com' click_button 'Save' - expect(current_application_settings.auto_devops_enabled?).to be true - expect(current_application_settings.auto_devops_domain).to eq('domain.com') + expect(Gitlab::CurrentSettings.auto_devops_enabled?).to be true + expect(Gitlab::CurrentSettings.auto_devops_domain).to eq('domain.com') expect(page).to have_content "Application settings saved successfully" end |