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