EE backport to CE of favicon_spec.rb

This commit is contained in:
lmcandrew 2019-05-13 13:23:04 +01:00
parent 3061eee6ed
commit e48305c02c

View file

@ -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