diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 19:55:00 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 23:56:41 +0300 |
commit | 2f9d1f5d669533e8ea453491affd0fab254281d7 (patch) | |
tree | 931bb38654107b9b5084a6b384e1bdd2591ae491 /spec/services/groups | |
parent | 3aa6daddee467af83396aadfa4cc2d165ac80a31 (diff) |
Fix group creat_service_spec to contain maintainer context
Diffstat (limited to 'spec/services/groups')
-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 } |