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
1e2c5a17
Commit
1e2c5a17
authored
Jun 17, 2020
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move reset_alerting_token route spec from EE to CE
parent
7cae7a47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ee/spec/routing/project_routing_spec.rb
ee/spec/routing/project_routing_spec.rb
+0
-6
spec/routing/project_routing_spec.rb
spec/routing/project_routing_spec.rb
+6
-0
No files found.
ee/spec/routing/project_routing_spec.rb
View file @
1e2c5a17
...
...
@@ -47,12 +47,6 @@ RSpec.describe 'EE-specific project routing' do
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
describe
Projects
::
ProtectedEnvironmentsController
,
'routing'
do
describe
'legacy routing'
do
it_behaves_like
'redirecting a legacy project path'
,
"/gitlab/gitlabhq/protected_environments"
,
"/gitlab/gitlabhq/-/protected_environments"
...
...
spec/routing/project_routing_spec.rb
View file @
1e2c5a17
...
...
@@ -778,6 +778,12 @@ describe 'project routing' do
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
describe
Projects
::
Settings
::
RepositoryController
,
'routing'
do
it
'to #show'
do
expect
(
get
(
'/gitlab/gitlabhq/-/settings/repository'
)).
to
route_to
(
'projects/settings/repository#show'
,
namespace_id:
'gitlab'
,
project_id:
'gitlabhq'
)
...
...
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