diff options
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/test_env.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb index 2e3fd5118ef..c79975d8667 100644 --- a/spec/support/test_env.rb +++ b/spec/support/test_env.rb @@ -98,7 +98,9 @@ module TestEnv def setup_gitlab_shell unless File.directory?(Gitlab.config.gitlab_shell.path) - `rake gitlab:shell:install` + unless system('rake', 'gitlab:shell:install') + raise 'Can`t clone gitlab-shell' + end end end |
