diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-08 23:14:29 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-08 23:14:29 +0800 |
commit | 5d963fccab8732dbd5ee54579d3afbcd47131ca6 (patch) | |
tree | 17c6aea196ecfb2c51eef142201c65579c5a29b8 /spec/tasks | |
parent | e26acdb11bef56360247a73c07be56784c52febe (diff) | |
download | gitlab-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.rb | 3 |
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 |