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
Boxiang Sun
gitlab-ce
Commits
c1551c6e
Commit
c1551c6e
authored
May 29, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix routing tests.
parent
f79a3004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
spec/routing/routing_spec.rb
spec/routing/routing_spec.rb
+8
-8
No files found.
spec/routing/routing_spec.rb
View file @
c1551c6e
...
@@ -79,35 +79,35 @@ describe HelpController, "routing" do
...
@@ -79,35 +79,35 @@ describe HelpController, "routing" do
end
end
it
"to #permissions"
do
it
"to #permissions"
do
get
(
"/help/permissions
"
).
should
route_to
(
'help#permissions'
)
get
(
"/help/permissions
/permissions"
).
should
route_to
(
'help#show'
,
category:
"permissions"
,
file:
"permissions"
)
end
end
it
"to #workflow"
do
it
"to #workflow"
do
get
(
"/help/workflow
"
).
should
route_to
(
'help#workflow'
)
get
(
"/help/workflow
/README"
).
should
route_to
(
'help#show'
,
category:
"workflow"
,
file:
"README"
)
end
end
it
"to #api"
do
it
"to #api"
do
get
(
"/help/api
"
).
should
route_to
(
'help#api'
)
get
(
"/help/api
/README"
).
should
route_to
(
'help#show'
,
category:
"api"
,
file:
"README"
)
end
end
it
"to #web_hooks"
do
it
"to #web_hooks"
do
get
(
"/help/web_hooks
"
).
should
route_to
(
'help#web_hooks'
)
get
(
"/help/web_hooks
/web_hooks"
).
should
route_to
(
'help#show'
,
category:
"web_hooks"
,
file:
"web_hooks"
)
end
end
it
"to #system_hooks"
do
it
"to #system_hooks"
do
get
(
"/help/system_hooks
"
).
should
route_to
(
'help#system_hooks'
)
get
(
"/help/system_hooks
/system_hooks"
).
should
route_to
(
'help#show'
,
category:
"system_hooks"
,
file:
"system_hooks"
)
end
end
it
"to #markdown"
do
it
"to #markdown"
do
get
(
"/help/markdown
"
).
should
route_to
(
'help#markdown'
)
get
(
"/help/markdown
/markdown"
).
should
route_to
(
'help#show'
,
category:
"markdown"
,
file:
"markdown"
)
end
end
it
"to #ssh"
do
it
"to #ssh"
do
get
(
"/help/ssh
"
).
should
route_to
(
'help#ssh'
)
get
(
"/help/ssh
/README"
).
should
route_to
(
'help#show'
,
category:
"ssh"
,
file:
"README"
)
end
end
it
"to #raketasks"
do
it
"to #raketasks"
do
get
(
"/help/raketasks
"
).
should
route_to
(
'help#raketasks'
)
get
(
"/help/raketasks
/README"
).
should
route_to
(
'help#show'
,
category:
"raketasks"
,
file:
"README"
)
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