diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-12-14 02:29:35 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-12-14 02:29:35 +0800 |
commit | d03c605bd4a128d45179dd05f117a78aab7af6be (patch) | |
tree | 4df4dbcb5c737d3393c6de8493770df92939e79b /spec/workers | |
parent | 46d752ce218d833ff947bd4503de56300471a8cb (diff) | |
download | gitlab-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.rb | 2 |
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 |