Commit 5822b744 authored by Marin Jankovski's avatar Marin Jankovski

Invalidate the license in spec

parent fa3d6eaa
......@@ -105,6 +105,8 @@ describe Gitlab::UsageData do
context 'when there is no license' do
it 'returns an empty hash' do
allow(License).to receive(:current).and_return(nil)
expect(subject).to eq({})
end
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