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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
5f35901a
Commit
5f35901a
authored
Jul 26, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mk-fix-master-wiki-web-url-spec' into 'master'
Fix project wiki web_url spec See merge request !13105
parents
549d2cc8
c4854426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/models/project_wiki_spec.rb
spec/models/project_wiki_spec.rb
+1
-1
No files found.
spec/models/project_wiki_spec.rb
View file @
5f35901a
...
@@ -21,7 +21,7 @@ describe ProjectWiki, models: true do
...
@@ -21,7 +21,7 @@ describe ProjectWiki, models: true do
describe
'#web_url'
do
describe
'#web_url'
do
it
'returns the full web URL to the wiki'
do
it
'returns the full web URL to the wiki'
do
expect
(
subject
.
web_url
).
to
eq
(
"
#{
Gitlab
.
config
.
gitlab
.
url
}
/
#{
project
.
path_with_namespace
}
/wikis/home"
)
expect
(
subject
.
web_url
).
to
match
(
"https?://[^
\/
]+
/
#{
project
.
path_with_namespace
}
/wikis/home"
)
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