Fix failure in current_settings_spec.rb
This commit is contained in:
parent
64fd9814fd
commit
beeed14f04
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue