Commit a0a1c03e authored by Tim Zallmann's avatar Tim Zallmann

Whitespace + Helper problems in test

parent b6b6cbd2
......@@ -15,9 +15,10 @@ describe 'layouts/nav/_group' do
end
context 'no license installed' do
current_user = create(:user)
allow(helper).to receive(:current_user).and_return(current_user)
before do
current_user = create(:user)
allow(helper).to receive(:current_user).and_return(current_user)
allow(License).to receive(:current).and_return(nil)
stub_application_setting(check_namespace_plan: false)
end
......
......@@ -239,7 +239,7 @@ describe 'Promotions', js: true do
before do
allow(License).to receive(:current).and_return(nil)
stub_application_setting(check_namespace_plan: false)
group.add_owner(user)
sign_in(user)
end
......
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