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
f59a7f28
Commit
f59a7f28
authored
Jul 02, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test protected branches CE fallback when feature is not available
parent
ccac30cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
spec/features/protected_branches_spec.rb
spec/features/protected_branches_spec.rb
+15
-1
No files found.
spec/features/protected_branches_spec.rb
View file @
f59a7f28
...
...
@@ -102,6 +102,20 @@ feature 'Protected Branches', feature: true, js: true do
end
describe
"access control"
do
include_examples
"protected branches > 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 branches > 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 branches > 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