diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 21:08:48 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-06 21:08:48 +0000 |
commit | a89cb5cbdd832d4d9e80517973aceda6bc0a3856 (patch) | |
tree | 574475bd0901a2f8906d36a4728b8bbb95b41e1c /spec/tasks/gitlab | |
parent | 0d6fa033121a9bef708b8f2de186c4034c61d4a3 (diff) | |
download | gitlab-ce-a89cb5cbdd832d4d9e80517973aceda6bc0a3856.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tasks/gitlab')
-rw-r--r-- | spec/tasks/gitlab/cleanup_rake_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tasks/gitlab/cleanup_rake_spec.rb b/spec/tasks/gitlab/cleanup_rake_spec.rb index 3c3e5eea838..92ccc195a9a 100644 --- a/spec/tasks/gitlab/cleanup_rake_spec.rb +++ b/spec/tasks/gitlab/cleanup_rake_spec.rb @@ -16,10 +16,10 @@ describe 'gitlab:cleanup rake tasks' do let!(:logger) { double(:logger) } before do - expect(main_object).to receive(:logger).and_return(logger).at_least(1).times + expect(main_object).to receive(:logger).and_return(logger).at_least(:once) - allow(logger).to receive(:info).at_least(1).times - allow(logger).to receive(:debug).at_least(1).times + allow(logger).to receive(:info).at_least(:once) + allow(logger).to receive(:debug).at_least(:once) end context 'with a fixable orphaned project upload file' do |