diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-03-28 19:46:48 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-03-28 19:46:48 +0300 |
commit | 7a36fd106fd3041ef77a18fff971344fbdab7e7d (patch) | |
tree | 3575aa984ba90d15185ee2605bd29a493acff09b | |
parent | fca02e24768ea11d2f04a58437cb5557fd3c93fa (diff) |
Be explicit about when yellow favicon is used
-rw-r--r-- | changelogs/unreleased/add-canary-favicon.yml | 2 | ||||
-rw-r--r-- | spec/serializers/status_entity_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/changelogs/unreleased/add-canary-favicon.yml b/changelogs/unreleased/add-canary-favicon.yml index 57d1f55249d..1af6572588d 100644 --- a/changelogs/unreleased/add-canary-favicon.yml +++ b/changelogs/unreleased/add-canary-favicon.yml @@ -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 author: type: changed diff --git a/spec/serializers/status_entity_spec.rb b/spec/serializers/status_entity_spec.rb index 11dc974a5cf..70402bac2e2 100644 --- a/spec/serializers/status_entity_spec.rb +++ b/spec/serializers/status_entity_spec.rb @@ -26,7 +26,7 @@ describe StatusEntity do expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/dev/favicon_status_success.ico') 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') expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/canary/favicon_status_success.ico') end |