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 de71c33878
commit 0f7366f29d

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 }