Commit 7a36fd10 authored by Eric Eastwood's avatar Eric Eastwood

Be explicit about when yellow favicon is used

parent fca02e24
--- ---
title: Add yellow favicon to differientate canary environment title: Add yellow favicon when `CANARY=true` to differientate canary environment
merge_request: 12477 merge_request: 12477
author: author:
type: changed type: changed
...@@ -26,7 +26,7 @@ describe StatusEntity do ...@@ -26,7 +26,7 @@ describe StatusEntity do
expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/dev/favicon_status_success.ico') expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/dev/favicon_status_success.ico')
end end
it 'contains a canavary namespaced favicon if canary env' do it 'contains a canary namespaced favicon if canary env' do
stub_env('CANARY', 'true') stub_env('CANARY', 'true')
expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/canary/favicon_status_success.ico') expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/canary/favicon_status_success.ico')
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