Commit f59a7f28 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Test protected branches CE fallback when feature is not available

parent ccac30cd
......@@ -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
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