summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-14 02:29:35 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-14 02:29:35 +0800
commitd03c605bd4a128d45179dd05f117a78aab7af6be (patch)
tree4df4dbcb5c737d3393c6de8493770df92939e79b /spec/workers
parent46d752ce218d833ff947bd4503de56300471a8cb (diff)
downloadgitlab-ce-d03c605bd4a128d45179dd05f117a78aab7af6be.tar.gz
Unify parameters and callback after hooks
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_19747856
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/git_garbage_collect_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/git_garbage_collect_worker_spec.rb b/spec/workers/git_garbage_collect_worker_spec.rb
index 2b31efbf631..5ef8cf1105b 100644
--- a/spec/workers/git_garbage_collect_worker_spec.rb
+++ b/spec/workers/git_garbage_collect_worker_spec.rb
@@ -108,7 +108,7 @@ describe GitGarbageCollectWorker do
parents: [old_commit],
)
GitOperationService.new(nil, project.repository).send(
- :update_ref!,
+ :update_ref,
"refs/heads/#{SecureRandom.hex(6)}",
new_commit_sha,
Gitlab::Git::BLANK_SHA