Commit 4bf26862 authored by Fabio Papa's avatar Fabio Papa

Fix group creat_service_spec to contain maintainer context

parent 7848c4da
......@@ -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