diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-20 21:33:00 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-10-20 21:33:00 +0300 |
commit | beeed14f0470e912a2add7a7b94cb1cc1c6adb07 (patch) | |
tree | d87308ba2f8d403964a4e5ae331dcfb321f56abe /spec/lib/gitlab/current_settings_spec.rb | |
parent | 64fd9814fdbcd2edf6a282568c645c5b2c0663e2 (diff) |
Fix failure in current_settings_spec.rb
Diffstat (limited to 'spec/lib/gitlab/current_settings_spec.rb')
-rw-r--r-- | spec/lib/gitlab/current_settings_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/current_settings_spec.rb b/spec/lib/gitlab/current_settings_spec.rb index d57ffcae8e1..492659a82b0 100644 --- a/spec/lib/gitlab/current_settings_spec.rb +++ b/spec/lib/gitlab/current_settings_spec.rb @@ -21,7 +21,7 @@ describe Gitlab::CurrentSettings do it 'falls back to DB if Redis returns an empty value' do expect(ApplicationSetting).to receive(:cached).and_return(nil) - expect(ApplicationSetting).to receive(:last).and_call_original + expect(ApplicationSetting).to receive(:last).and_call_original.twice expect(current_application_settings).to be_a(ApplicationSetting) end |