summaryrefslogtreecommitdiff
path: root/spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb')
-rw-r--r--spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb b/spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb
index 1238929fbcb..6fe9741075f 100644
--- a/spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb
+++ b/spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb
@@ -43,7 +43,7 @@ RSpec.describe Gitlab::GithubImport::ImportPullRequestWorker do
expect(importer)
.to receive(:execute)
- expect(worker.counter)
+ expect(Gitlab::GithubImport::ObjectCounter)
.to receive(:increment)
.and_call_original