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
176de340
Commit
176de340
authored
Jun 03, 2019
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing project routes specs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e0a60c85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ee/spec/routing/project_routing_spec.rb
ee/spec/routing/project_routing_spec.rb
+12
-0
No files found.
ee/spec/routing/project_routing_spec.rb
View file @
176de340
...
...
@@ -36,4 +36,16 @@ describe 'EE-specific project routing' do
expect
(
get
(
'/gitlab/gitlabhq/-/designs/1/f166f5c7afaed9e1236e4e5965585f235795db4c3f45e8a9f6ea9dde098c'
)).
to
route_to
(
'projects/designs#show'
,
namespace_id:
'gitlab'
,
project_id:
'gitlabhq'
,
id:
'1'
,
ref:
'f166f5c7afaed9e1236e4e5965585f235795db4c3f45e8a9f6ea9dde098c'
)
end
end
describe
Projects
::
AutocompleteSourcesController
,
'routing'
do
it
"to #epics"
do
expect
(
get
(
"/gitlab/gitlabhq/-/autocomplete_sources/epics"
)).
to
route_to
(
"projects/autocomplete_sources#epics"
,
namespace_id:
'gitlab'
,
project_id:
'gitlabhq'
)
end
end
describe
Projects
::
Settings
::
OperationsController
,
'routing'
do
it
'to #reset_alerting_token'
do
expect
(
post
(
'/gitlab/gitlabhq/-/settings/operations/reset_alerting_token'
)).
to
route_to
(
'projects/settings/operations#reset_alerting_token'
,
namespace_id:
'gitlab'
,
project_id:
'gitlabhq'
)
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