Fix group creat_service_spec to contain maintainer context

This commit is contained in:
Fabio Papa 2019-07-01 09:55:00 -07:00
parent 7848c4daee
commit 4bf26862d0
1 changed files with 2 additions and 2 deletions

View File

@ -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 }