demarches-normaliennes/spec
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
..
controllers config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
factories spec: replace reference to ds in password 2020-07-23 16:20:16 +02:00
features fix missing alt 2020-08-04 13:41:10 +00:00
fixtures create bilans_bdf_adapter 2020-04-30 16:15:16 +02:00
helpers suppression du message d'alerte suite aux problèmes d'upload 2020-07-27 10:32:03 +02:00
jobs fix active_revision_id -> active_revision.id 2020-07-23 15:07:25 +02:00
lib add rake task to update typedechamp 2020-07-15 09:00:12 +00:00
mailers mailers: ignore more SMTP errors 2020-07-13 16:17:55 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models models: render attestations in a simpler way 2020-08-04 16:53:46 +02:00
policies policies: fix champ policy for guest users 2020-04-02 11:27:14 +02:00
serializers Remove legacy carto code 2020-05-13 12:17:04 +02:00
services validate api_entreprise_token 2020-07-08 18:59:22 +02:00
support spec: replace reference to ds in password 2020-07-23 16:20:16 +02:00
views Merge branch 'dev' into new_design_edit_attestation 2020-07-30 09:53:09 +02:00
rails_helper.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
spec_helper.rb renommage des tests 2020-07-21 17:13:28 +02:00