diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 19:56:02 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 21:55:49 +0300 |
commit | b36d78eabc53bb6a457c45b67a65276c85bf2b8a (patch) | |
tree | 0dbd91a288891e1965c4ec52c34a70fbe4fa90ab /spec | |
parent | 4bf26862d09e1f20bae2fa36be72ec6387a547ba (diff) |
Add descriptions to examples
Diffstat (limited to 'spec')
-rw-r--r-- | spec/policies/group_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/group_policy_spec.rb b/spec/policies/group_policy_spec.rb index 7fba62d2aa8..020b51f776e 100644 --- a/spec/policies/group_policy_spec.rb +++ b/spec/policies/group_policy_spec.rb @@ -103,7 +103,7 @@ describe GroupPolicy do :private, subgroup_creation_level: ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS) } - it do + it 'allows every maintainer permission plus creating subgroups' do allow(Group).to receive(:supports_nested_objects?).and_return(true) create_subgroup_permission = [:create_subgroup] @@ -121,7 +121,7 @@ describe GroupPolicy do end context 'with subgroup_creation_level set to owner' do - it do + it 'allows every maintainer permission' do allow(Group).to receive(:supports_nested_objects?).and_return(true) expect_allowed(*guest_permissions) |