demarches-normaliennes/spec/controllers
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
..
admin Merge branch 'dev' into new_design_edit_attestation 2020-07-30 09:53:09 +02:00
administrateur Fix manager invite administrateur 2019-08-14 16:34:50 +02:00
administrations specs: always require rails_helper 2020-03-31 12:48:32 +02:00
api graphql: possibility to filter dossiers by archived 2020-07-29 16:59:34 +02:00
champs controllers: disable explicit purge of invalid file 2020-07-07 18:03:56 +02:00
concerns specs: always require rails_helper 2020-03-31 12:48:32 +02:00
devise specs: always require rails_helper 2020-03-31 12:48:32 +02:00
france_connect Use time.zone functions instead of server time functions 2019-11-26 14:26:36 +01:00
instructeurs config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
manager spec: replace reference to ds in password 2020-07-23 16:20:16 +02:00
new_administrateur config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
users update dossier after saving champ 2020-07-30 10:18:44 +02:00
api_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
application_controller_spec.rb spec: fix application_controller_spec 2020-07-07 18:03:56 +02:00
attachments_controller_spec.rb attachments: remove the buggy fallback 2020-04-09 10:40:08 +02:00
invites_controller_spec.rb user: revoque un invité sur un dossier 2020-07-14 18:25:31 +02:00
ping_controller_spec.rb add maintenance mode 2020-06-22 11:17:22 +02:00
root_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
stats_controller_spec.rb update stats with traitement model 2020-07-08 18:15:15 +02:00
support_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
webhook_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00