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
1dca950c
Commit
1dca950c
authored
Jun 02, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing submodule test.
parent
9abee4ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/helpers/submodule_helper_spec.rb
spec/helpers/submodule_helper_spec.rb
+2
-1
No files found.
spec/helpers/submodule_helper_spec.rb
View file @
1dca950c
...
...
@@ -16,7 +16,8 @@ describe SubmoduleHelper do
end
it
'should detect ssh on standard port'
do
Gitlab
.
config
.
gitlab
.
stub
(
ssh_port:
22
)
# set this just to be sure
Gitlab
.
config
.
gitlab_shell
.
stub
(
ssh_port:
22
)
# set this just to be sure
Gitlab
.
config
.
gitlab_shell
.
stub
(
ssh_path_prefix:
Settings
.
send
(
:build_gitlab_shell_ssh_path_prefix
))
stub_url
([
config
.
user
,
'@'
,
config
.
host
,
':gitlab-org/gitlab-ce.git'
].
join
(
''
))
submodule_links
(
submodule_item
).
should
==
[
project_path
(
'gitlab-org/gitlab-ce'
),
project_tree_path
(
'gitlab-org/gitlab-ce'
,
'hash'
)
]
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