summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-06-19 12:17:54 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-06-19 13:30:54 +0200
commit1dc0332726ffbcb488439e84373958753ee4ac5e (patch)
tree7d8d0b00364add99eefe09f86e90f7bcadfc1746 /spec/workers
parent0bf6279c09a8ae8ae099aa436adf04782cc1d0f9 (diff)
downloadgitlab-ce-1dc0332726ffbcb488439e84373958753ee4ac5e.tar.gz
Move forking to Gitalyzj-fork-mandatory
Closes https://gitlab.com/gitlab-org/gitaly/issues/817 Closes https://gitlab.com/gitlab-org/gitaly/issues/1236
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/repository_fork_worker_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/workers/repository_fork_worker_spec.rb b/spec/workers/repository_fork_worker_spec.rb
index 5d83397e8df..ac8716ecfb1 100644
--- a/spec/workers/repository_fork_worker_spec.rb
+++ b/spec/workers/repository_fork_worker_spec.rb
@@ -92,16 +92,6 @@ describe RepositoryForkWorker do
end
it_behaves_like 'RepositoryForkWorker performing'
-
- it 'logs a message about forking with old-style arguments' do
- allow(subject).to receive(:gitlab_shell).and_return(shell)
- expect(shell).to receive(:fork_repository) { true }
-
- allow(Rails.logger).to receive(:info).with(anything) # To compensate for other logs
- expect(Rails.logger).to receive(:info).with("Project #{fork_project.id} is being forked using old-style arguments.")
-
- perform!
- end
end
end
end