Commit e48305c0 authored by lmcandrew's avatar lmcandrew

EE backport to CE of favicon_spec.rb

parent 3061eee6
...@@ -7,7 +7,7 @@ RSpec.describe Gitlab::Favicon, :request_store do ...@@ -7,7 +7,7 @@ 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 blue 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 '/assets/favicon-blue.png' expect(described_class.main).to match_asset_path '/assets/favicon-blue.png'
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