summaryrefslogtreecommitdiff
path: root/spec/services/groups
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-06-28 13:31:47 -0700
committerFabio Papa <fabtheman@gmail.com>2019-07-19 12:06:57 -0700
commita2cd8e0dab5c5efb3f1c6a6968337b371e194a24 (patch)
tree57667cf2eb1c6b60b0015f719b701120d063cc0a /spec/services/groups
parent396926bbe4182d415e8aa129f45bc1c8ba9e4694 (diff)
downloadgitlab-ce-a2cd8e0dab5c5efb3f1c6a6968337b371e194a24.tar.gz
Style rules; Revert some examples
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 b4e6ddddfac..267ad529d3b 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 maintainer' do
+ context 'as Owner' do
before do
- group.add_maintainer(user)
+ group.add_owner(user)
end
it { is_expected.to be_persisted }