demarches-normaliennes/spec/controllers/new_administrateur
Pierre de La Morinerie 65809f8ea0 config: flip action_dispatch_return_only_media_type_on_content_type
This makes `ActionDispatch::Controller#content_type` return not only
the MIME type, but also in some circumstances the charset.

Example:

```ruby
reponse.content_type == 'text/html; charset=utf-8'
```

The MIME type-only fragment can now be accessed using `#media_type`.

Changes to the tests are not stricly necessary (because no charset is
present in the actual value), but represent the intent better.
2020-08-05 16:48:36 +02:00
..
administrateur_controller_spec.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
attestation_templates_controller_spec.rb config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
groupe_instructeurs_controller_spec.rb Changed the routes to pass all new design admin pages under 2020-07-07 14:08:01 +00:00
mail_templates_controller_spec.rb Fix tests involving attachment urls 2020-01-08 14:46:18 +01:00
procedures_controller_spec.rb Ajoute la liste des démarches de l'interface administrateur sur la nouvelle UI 2020-07-29 15:35:52 +02:00
services_controller_spec.rb 'Services' routes moved under 'new_administrateur' scope and '/admn' added in their url 2020-07-07 14:08:01 +00:00
types_de_champ_controller_spec.rb Spec: sign_in with administrateur.user 2019-08-14 15:08:14 +02:00