Extract loading error CSS file into a helper and add specs

What does this MR do and why?

This spec is usually run on CI because assets are precompiled.

You can also run this spec locally:

  • Run bin/rake gitlab:assets:compile
  • Run spec CI=1 bin/rspec spec/helpers/application_helper_spec.rb
  • Run spec CI=1 rs spec/requests/application_controller_spec.rb -e 'returns 404'

Follow-up of gitlab-com/gl-infra/production#17627 (comment 1782396646) and !145363 (merged).

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports

Loading