Commit 1e9c33ac authored by Alexis Reigel's avatar Alexis Reigel Committed by Alexis Reigel

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).
parent 7706b3a4
......@@ -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
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