summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-07-01 09:55:00 -0700
committerFabio Papa <fabtheman@gmail.com>2019-07-19 11:55:49 -0700
commit4bf26862d09e1f20bae2fa36be72ec6387a547ba (patch)
tree8ec9fbb410a1dccfd46a5cc6129863937457f8ad /spec/services
parent7848c4daeead7bf0ba79a9c82be59bfc349f1caa (diff)
downloadgitlab-ce-4bf26862d09e1f20bae2fa36be72ec6387a547ba.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.rb4
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 }