demarches-normaliennes/spec/controllers/instructeurs
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
..
avis_controller_spec.rb update dossier after saving avis 2020-07-30 10:18:44 +02:00
dossiers_controller_spec.rb update dossier after saving champ 2020-07-30 10:18:44 +02:00
groupe_instructeurs_controller_spec.rb instructeurs: alias instructeur.email 2019-11-04 10:44:24 +01:00
instructeur_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
procedures_controller_spec.rb config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
recherche_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00