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:
authorStan Hu <stanhu@gmail.com>2018-06-11 20:05:00 +0300
committerStan Hu <stanhu@gmail.com>2018-06-11 20:05:00 +0300
commit1756eea5316c9d1d4b6b8a9bb45d1d2425943f5c (patch)
tree493161640934bd38c49a72ab7546b1fa5efcc58e /spec/models
parent96ce4ed25c7633330f82439f1f9347f6eef8568a (diff)
Fix Rubocop failure in spec/models/project_spec.rb
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index adb6ea94ac7..24c99a7929a 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -1727,7 +1727,7 @@ describe Project do
.and_return(true)
# Works around https://github.com/rspec/rspec-mocks/issues/910
- expect(Project).to receive(:find).with(project.id).twice.and_return(project)
+ expect(described_class).to receive(:find).with(project.id).twice.and_return(project)
expect(project.repository).to receive(:after_import)
.and_call_original
expect(project.wiki.repository).to receive(:after_import)