EE backport to CE of favicon_spec.rb
This commit is contained in:
parent
3061eee6ed
commit
e48305c02c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue