Fix group creat_service_spec to contain maintainer context
This commit is contained in:
parent
7848c4daee
commit
4bf26862d0
1 changed files with 2 additions and 2 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue