Commit 9fe860b6 authored by Tim Zallmann's avatar Tim Zallmann

Fixing the developer test on .com

parent ab0b0a5d
......@@ -3,7 +3,6 @@ require 'spec_helper'
describe 'Promotions', js: true do
let(:admin) { create(:admin) }
let(:user) { create(:user) }
let(:developer) { create(:user) }
let(:project) { create(:project, :public, path: 'gitlab', name: 'sample') }
describe 'if you have a license' do
......@@ -42,6 +41,8 @@ describe 'Promotions', js: true do
describe 'for project features in general', js: true do
context 'for .com' do
let(:developer) { create(:user) }
before do
stub_application_setting(check_namespace_plan: true)
allow(Gitlab).to receive(:com?) { true }
......
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