Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7762d8f5
Commit
7762d8f5
authored
Oct 17, 2016
by
Valery Sizov
Committed by
Dmitriy Zaporozhets
Oct 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Test Env (proper error handling when gitlab-shell is not clonned)
parent
5c9a54d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/support/test_env.rb
spec/support/test_env.rb
+3
-1
No files found.
spec/support/test_env.rb
View file @
7762d8f5
...
@@ -98,7 +98,9 @@ module TestEnv
...
@@ -98,7 +98,9 @@ module TestEnv
def
setup_gitlab_shell
def
setup_gitlab_shell
unless
File
.
directory?
(
Gitlab
.
config
.
gitlab_shell
.
path
)
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
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment