Commit 6e362e9c authored by Tim Zallmann's avatar Tim Zallmann

Mapped correct setup

parent c3e3f887
......@@ -47,11 +47,9 @@ describe Groups::AnalyticsController do
end
context 'unlicensed but we show promotions' do
let(:show_promotions?) { true }
before do
allow(License).to receive(:current).and_return(nil)
allow(LicenseHelper).to receive(:show_promotions).and_return(true)
allow(LicenseHelper).to receive(:show_promotions?).and_return(true)
stub_application_setting(check_namespace_plan: false)
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