Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-04-14 16:37:32 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2018-06-05 17:20:24 +0300
commit1e9c33acd1129557124e330df2f178fb097d67e5 (patch)
tree87c6864390db857f9c6c832147a0fdbd5cfaced7 /spec/serializers
parent7706b3a471de37240c0da6fcc14c7d38c6d62eb9 (diff)
remove obsolete favicon related spec
the favicon variations don't need to be tested on the entity anymore, as they are A) tested in the dedicated `Gitlab::Favicon` and B) they are created on the client (i.e. the overlays are always the same for all base favicon variants).
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/status_entity_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/serializers/status_entity_spec.rb b/spec/serializers/status_entity_spec.rb
index 73f81405d54..0b010ebd507 100644
--- a/spec/serializers/status_entity_spec.rb
+++ b/spec/serializers/status_entity_spec.rb
@@ -20,15 +20,5 @@ describe StatusEntity do
expect(subject).to include :has_details, :details_path
expect(subject[:favicon]).to match_asset_path('/assets/ci_favicons/favicon_status_success.png')
end
-
- it 'contains a dev namespaced favicon if dev env' do
- allow(Rails.env).to receive(:development?) { true }
- expect(entity.as_json[:favicon]).to match_asset_path('/assets/ci_favicons/favicon_status_success.png')
- end
-
- 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.png')
- end
end
end