Commit 1756eea5 authored by Stan Hu's avatar Stan Hu

Fix Rubocop failure in spec/models/project_spec.rb

parent 96ce4ed2
...@@ -1727,7 +1727,7 @@ describe Project do ...@@ -1727,7 +1727,7 @@ describe Project do
.and_return(true) .and_return(true)
# Works around https://github.com/rspec/rspec-mocks/issues/910 # 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) expect(project.repository).to receive(:after_import)
.and_call_original .and_call_original
expect(project.wiki.repository).to receive(:after_import) expect(project.wiki.repository).to receive(:after_import)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment