Commit 74f25e12 authored by Arturo Herrero's avatar Arturo Herrero

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

Add missing test coverage on Group API spec

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