diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 23:31:47 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 22:06:56 +0300 |
commit | 97b1f48e97383648946c985eef8e8a29c307b05e (patch) | |
tree | 06ca1f822bf3086870865cbb1de4a79c9af566ac /spec/services/groups | |
parent | 02b1235046e1a78d4c43476a1716b6464bb647d1 (diff) |
Style rules; Revert some examples
Diffstat (limited to 'spec/services/groups')
-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 } |