diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 13:31:47 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 14:11:52 -0700 |
commit | b51ffa2e0c0c9a18ac05f801daa7409769a85bc5 (patch) | |
tree | e1b4f414e08f5568e9c0e080f2a9c65c8841357d /spec/services | |
parent | 302316dac8c19160e52929c03bf54e34fb9f678e (diff) | |
download | gitlab-ce-b51ffa2e0c0c9a18ac05f801daa7409769a85bc5.tar.gz |
Style rules; Revert some examples
Diffstat (limited to 'spec/services')
-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 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 } |