Commit f940a4a6 authored by Fabio Papa's avatar Fabio Papa

Fix group creat_service_spec to contain maintainer context

parent c8b5556e
......@@ -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 }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment