Commit 93151038 authored by Sean McGivern's avatar Sean McGivern

Resolve spec/workers/project_cache_worker_spec.rb

parent 55987a5e
...@@ -45,7 +45,6 @@ describe ProjectCacheWorker do ...@@ -45,7 +45,6 @@ describe ProjectCacheWorker do
expect_any_instance_of(Repository).to receive(:refresh_method_caches) expect_any_instance_of(Repository).to receive(:refresh_method_caches)
.with(%i(readme)) .with(%i(readme))
.and_call_original .and_call_original
<<<<<<< HEAD
worker.perform(project.id, %w(readme)) worker.perform(project.id, %w(readme))
end end
...@@ -62,12 +61,8 @@ describe ProjectCacheWorker do ...@@ -62,12 +61,8 @@ describe ProjectCacheWorker do
expect_any_instance_of(Project).not_to receive(:update_repository_size) expect_any_instance_of(Project).not_to receive(:update_repository_size)
expect_any_instance_of(Project).not_to receive(:update_commit_count) expect_any_instance_of(Project).not_to receive(:update_commit_count)
subject.perform(project.id) worker.perform(project.id, %w(readme))
end end
=======
worker.perform(project.id, %w(readme))
>>>>>>> upstream/master
end end
context 'with plain readme' do context 'with plain readme' do
......
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