Commit 230bbf12 authored by Tim Zallmann's avatar Tim Zallmann

Developer Access rights

parent 0ffc04ab
...@@ -47,7 +47,7 @@ describe 'Promotions', js: true do ...@@ -47,7 +47,7 @@ describe 'Promotions', js: true do
stub_application_setting(check_namespace_plan: true) stub_application_setting(check_namespace_plan: true)
allow(Gitlab).to receive(:com?) { true } allow(Gitlab).to receive(:com?) { true }
project.team << [user, :master] project.team << [user, :master]
project.team << [user, :developer] project.team << [developer, :developer]
end end
it 'should have the Upgrade your plan button' do it 'should have the Upgrade your plan button' do
...@@ -62,7 +62,7 @@ describe 'Promotions', js: true do ...@@ -62,7 +62,7 @@ describe 'Promotions', js: true do
expect(find('#promote_service_desk')).to have_content 'Contact owner' expect(find('#promote_service_desk')).to have_content 'Contact owner'
end end
end end
end end
describe 'for service desk', js: true do describe 'for service desk', js: true do
let!(:license) { nil } let!(:license) { nil }
......
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