diff options
author | Nick Thomas <nick@gitlab.com> | 2018-10-17 19:03:33 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-10-19 01:39:59 +0100 |
commit | 331c4f4da6366dbc8989be915be98575107395a6 (patch) | |
tree | e9ad85b5ea3cd67745c1375d11637e9ac84ea15a /spec | |
parent | c094bdb8206322eff5cdc6c22b9eafa08ff3bd2d (diff) | |
download | gitlab-ce-331c4f4da6366dbc8989be915be98575107395a6.tar.gz |
Harden a spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/application_settings/update_service_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/services/application_settings/update_service_spec.rb b/spec/services/application_settings/update_service_spec.rb index 6337ee7d724..daf5dfba6b1 100644 --- a/spec/services/application_settings/update_service_spec.rb +++ b/spec/services/application_settings/update_service_spec.rb @@ -10,6 +10,9 @@ describe ApplicationSettings::UpdateService do before do # So the caching behaves like it would in production stub_env('IN_MEMORY_APPLICATION_SETTINGS', 'false') + + # Creating these settings first ensures they're used by other factories + application_settings end describe 'updating terms' do |