Fix failing spec due to changes UpdateService

for ApplicationSettings
This commit is contained in:
Brett Walker 2019-08-16 12:15:39 -05:00
parent ad05e48863
commit 17c312d601
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ describe Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService do
end end
it 'returns error when saving project ID fails' do it 'returns error when saving project ID fails' do
allow(application_setting).to receive(:update) { false } allow(application_setting).to receive(:save) { false }
expect { result }.to raise_error(StandardError, 'Could not save project ID') expect { result }.to raise_error(StandardError, 'Could not save project ID')
end end