Commit b89336eb authored by Dave Pisek's avatar Dave Pisek

Backend review: Add specs for route helper

parent b68023ef
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment