diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 09:55:00 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-02 11:36:05 -0700 |
commit | 6e56a915304603a3cc7716823c2d98f108707611 (patch) | |
tree | 16cf08aa74ae2a41c7b92cfdfa2681de225c5503 /spec | |
parent | 6913cfa9aa9c9c4bda85c2c3a5c2e4c0bcdc1e48 (diff) | |
download | gitlab-ce-6e56a915304603a3cc7716823c2d98f108707611.tar.gz |
Fix group creat_service_spec to contain maintainer context
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/groups/create_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/groups/create_service_spec.rb b/spec/services/groups/create_service_spec.rb index 267ad529d3b..b4e6ddddfac 100644 --- a/spec/services/groups/create_service_spec.rb +++ b/spec/services/groups/create_service_spec.rb @@ -89,9 +89,9 @@ describe Groups::CreateService, '#execute' do it { is_expected.to be_persisted } end - context 'as Owner' do + context 'as maintainer' do before do - group.add_owner(user) + group.add_maintainer(user) end it { is_expected.to be_persisted } |