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
ca94b8ee
Commit
ca94b8ee
authored
Jul 02, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spec for falling back to CE-logic for protected tags
parent
71dbb6dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
spec/features/protected_tags_spec.rb
spec/features/protected_tags_spec.rb
+15
-1
No files found.
spec/features/protected_tags_spec.rb
View file @
ca94b8ee
...
...
@@ -106,6 +106,20 @@ feature 'Projected Tags', feature: true, js: true do
end
describe
"access control"
do
include_examples
"protected tags > access control > EE"
describe
'with ref permissions for users enabled'
do
before
do
stub_licensed_features
(
ref_permissions_for_users:
true
)
end
include_examples
"protected tags > access control > EE"
end
describe
'with ref permissions for users disabled'
do
before
do
stub_licensed_features
(
ref_permissions_for_users:
false
)
end
include_examples
"protected tags > access control > CE"
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