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
b89336eb
Commit
b89336eb
authored
Apr 30, 2020
by
Dave Pisek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backend review: Add specs for route helper
parent
b68023ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ee/spec/helpers/ee/gitlab_routing_helper_spec.rb
ee/spec/helpers/ee/gitlab_routing_helper_spec.rb
+8
-0
No files found.
ee/spec/helpers/ee/gitlab_routing_helper_spec.rb
View file @
b89336eb
...
...
@@ -87,6 +87,14 @@ describe EE::GitlabRoutingHelper do
end
end
describe
'#license_management_settings_path'
do
it
'generates a path to the license compliance page'
do
result
=
helper
.
license_management_settings_path
(
project
)
expect
(
result
).
to
eq
(
'/foo/bar/-/licenses#policies'
)
end
end
describe
'#user_group_saml_omniauth_metadata_path'
do
subject
do
helper
.
user_group_saml_omniauth_metadata_path
(
group
)
...
...
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