summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-08-08 23:14:29 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-08-08 23:14:29 +0800
commit5d963fccab8732dbd5ee54579d3afbcd47131ca6 (patch)
tree17c6aea196ecfb2c51eef142201c65579c5a29b8 /spec/tasks
parente26acdb11bef56360247a73c07be56784c52febe (diff)
downloadgitlab-ce-5d963fccab8732dbd5ee54579d3afbcd47131ca6.tar.gz
We shouldn't include utility methods everywhere
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/shell_rake_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/shell_rake_spec.rb b/spec/tasks/gitlab/shell_rake_spec.rb
index ee3614c50f6..65155cb044d 100644
--- a/spec/tasks/gitlab/shell_rake_spec.rb
+++ b/spec/tasks/gitlab/shell_rake_spec.rb
@@ -22,7 +22,8 @@ describe 'gitlab:shell rake tasks' do
describe 'create_hooks task' do
it 'calls gitlab-shell bin/create_hooks' do
expect_any_instance_of(Object).to receive(:system)
- .with("#{Gitlab.config.gitlab_shell.path}/bin/create-hooks", *repository_storage_paths_args)
+ .with("#{Gitlab.config.gitlab_shell.path}/bin/create-hooks",
+ *Gitlab::TaskHelpers.repository_storage_paths_args)
run_rake_task('gitlab:shell:create_hooks')
end