diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 09:55:00 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 14:18:43 -0700 |
commit | 9f9a9c56c0109f7567d520de960bf17ff9667d38 (patch) | |
tree | 931bb38654107b9b5084a6b384e1bdd2591ae491 /spec/services | |
parent | ac759aaacaf028667aed6337241091c07094d55b (diff) | |
download | gitlab-ce-9f9a9c56c0109f7567d520de960bf17ff9667d38.tar.gz |
Fix group creat_service_spec to contain maintainer context
Diffstat (limited to 'spec/services')
-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 } |