Be explicit about when yellow favicon is used

This commit is contained in:
Eric Eastwood 2018-03-28 11:46:48 -05:00
parent fca02e2476
commit 7a36fd106f
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
--- ---
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

View file

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