Skip to content
Snippets Groups Projects
Commit 341bead0 authored by Fabio Papa's avatar Fabio Papa
Browse files

Fix group creat_service_spec to contain maintainer context

parent fe4a88be
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment