summaryrefslogtreecommitdiff
path: root/spec/services
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 13:00:05 -0700
commit0b708e5d36f75b8c82b313737bffbdcc2f7e0255 (patch)
tree79fd0dca116838385f44f7a7a8fbe31d373af535 /spec/services
parent6f3b2e07dc394477636e7ea40749f8a7f51e3de7 (diff)
downloadgitlab-ce-0b708e5d36f75b8c82b313737bffbdcc2f7e0255.tar.gz
Style rules; Revert some examples
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 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 }