Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-07-01 19:55:00 +0300
committerFabio Papa <fabtheman@gmail.com>2019-07-19 22:06:57 +0300
commitf940a4a64ed7dde32228233897f9ad713151fb6a (patch)
tree3b22d82ddbe2c2ad4ab54c435f9555ee0cb4e4cc /spec/services/groups
parentc8b5556eb8d3594df9e69fd16517c23cf098a32f (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.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 }