diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 21:40:50 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 21:44:15 +0900 |
commit | 0ac1322045bd6d069aa74da04df7fb2d2797a3f0 (patch) | |
tree | bec78a5081e9791a47c4122910ca61278ec32621 /spec/tasks/gitlab/traces_rake_spec.rb | |
parent | 335bc0fec05d282e2e4daa0e4a1bcb82ddec0594 (diff) | |
download | gitlab-ce-0ac1322045bd6d069aa74da04df7fb2d2797a3f0.tar.gz |
Fix tests by latest proposal changesproper-fix-for-artifacts-service
Diffstat (limited to 'spec/tasks/gitlab/traces_rake_spec.rb')
-rw-r--r-- | spec/tasks/gitlab/traces_rake_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tasks/gitlab/traces_rake_spec.rb b/spec/tasks/gitlab/traces_rake_spec.rb index d2eaa88f287..bd18e8ffc1e 100644 --- a/spec/tasks/gitlab/traces_rake_spec.rb +++ b/spec/tasks/gitlab/traces_rake_spec.rb @@ -7,7 +7,7 @@ describe 'gitlab:traces rake tasks' do shared_examples 'passes the job id to worker' do it do - expect(ArchiveLegacyTraceWorker).to receive(:bulk_perform_async).with([[job.id]]) + expect(ArchiveTraceWorker).to receive(:bulk_perform_async).with([[job.id]]) run_rake_task('gitlab:traces:archive') end @@ -15,7 +15,7 @@ describe 'gitlab:traces rake tasks' do shared_examples 'does not pass the job id to worker' do it do - expect(ArchiveLegacyTraceWorker).not_to receive(:bulk_perform_async) + expect(ArchiveTraceWorker).not_to receive(:bulk_perform_async) run_rake_task('gitlab:traces:archive') end |