Fix group creat_service_spec to contain maintainer context
This commit is contained in:
parent
de71c33878
commit
0f7366f29d
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