summaryrefslogtreecommitdiff
path: root/spec/support/test_env.rb
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-10-17 12:17:12 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-10-17 12:17:12 -0500
commita975e4cb34349fb04305d6fb50756adf289ff633 (patch)
tree21336a574f911605104b26e85f6f4aa10076471c /spec/support/test_env.rb
parent86dcb79be37f5759dfeaa26283ed8bf031b38d54 (diff)
parentd4feb781387a843586d5a01740c43f50ce7ad084 (diff)
downloadgitlab-ce-a975e4cb34349fb04305d6fb50756adf289ff633.tar.gz
Merge branch 'master' into merge-conflicts-editor-2
Diffstat (limited to 'spec/support/test_env.rb')
-rw-r--r--spec/support/test_env.rb4
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