diff options
Diffstat (limited to 'spec/workers/repository_fork_worker_spec.rb')
-rw-r--r-- | spec/workers/repository_fork_worker_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/workers/repository_fork_worker_spec.rb b/spec/workers/repository_fork_worker_spec.rb index b9d8af4d8b0..60605460adb 100644 --- a/spec/workers/repository_fork_worker_spec.rb +++ b/spec/workers/repository_fork_worker_spec.rb @@ -35,11 +35,11 @@ describe RepositoryForkWorker do fork_project.namespace.path ).and_return(true) - expect_any_instance_of(Repository).to receive(:expire_emptiness_caches) - .and_call_original + expect_any_instance_of(Repository).to receive(:expire_emptiness_caches). + and_call_original - expect_any_instance_of(Repository).to receive(:expire_exists_cache) - .and_call_original + expect_any_instance_of(Repository).to receive(:expire_exists_cache). + and_call_original subject.perform(project.id, '/test/path', project.path_with_namespace, fork_project.namespace.path) |