Commit 8623d958 authored by lmcandrew's avatar lmcandrew

Added GitLab.ee? check to favicon spec

parent a1197399
...@@ -7,9 +7,9 @@ RSpec.describe Gitlab::Favicon, :request_store do ...@@ -7,9 +7,9 @@ RSpec.describe Gitlab::Favicon, :request_store do
expect(described_class.main).to match_asset_path '/assets/favicon.png' expect(described_class.main).to match_asset_path '/assets/favicon.png'
end end
it 'has green favicon for development' do it 'has blue favicon for development', unless: Gitlab.ee? do
allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development')) allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development'))
expect(described_class.main).to match_asset_path 'favicon-green.png' expect(described_class.main).to match_asset_path 'favicon-blue.png'
end end
it 'has yellow favicon for canary' do it 'has yellow favicon for canary' do
......
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