Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-03-06 15:40:50 +0300
committerShinya Maeda <shinya@gitlab.com>2018-03-06 15:44:15 +0300
commit0ac1322045bd6d069aa74da04df7fb2d2797a3f0 (patch)
treebec78a5081e9791a47c4122910ca61278ec32621 /spec/tasks
parent335bc0fec05d282e2e4daa0e4a1bcb82ddec0594 (diff)
Fix tests by latest proposal changes
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/traces_rake_spec.rb4
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