Commit 9a7ea3ed authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'tancnle-fix-groups-api-spec-coverage' into 'master'

Fix duplicate tests in Groups API spec

See merge request gitlab-org/gitlab!65823
parents b7628666 d7807e49
......@@ -370,7 +370,7 @@ RSpec.describe API::Groups do
let(:user) { admin }
where(:feature_enabled, :setting_enabled, :default_branch_protection) do
false | false | Gitlab::Access::PROTECTION_NONE
true | true | Gitlab::Access::PROTECTION_NONE
false | true | Gitlab::Access::PROTECTION_NONE
true | false | Gitlab::Access::PROTECTION_NONE
false | false | Gitlab::Access::PROTECTION_NONE
......@@ -393,7 +393,7 @@ RSpec.describe API::Groups do
context 'authenticated a normal user' do
where(:feature_enabled, :setting_enabled, :default_branch_protection) do
false | false | Gitlab::Access::PROTECTION_NONE
true | true | Gitlab::Access::PROTECTION_NONE
false | true | Gitlab::Access::PROTECTION_NONE
true | false | Gitlab::Access::PROTECTION_FULL
false | false | Gitlab::Access::PROTECTION_NONE
......
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