demarches-normaliennes/spec/controllers/concerns
Sébastien Carceles b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier (#8247)
* store prefill params in session

Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.

There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.

* spec: cover the case

* review: serialize with json instead of yaml

* review: rename method

* review: store only query params

* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
..
devise_populated_resource_spec.rb fix(turbo): fix anonymous controller RSpec test 2022-04-21 19:41:27 +02:00
graphql_operation_log_concern_spec.rb fix(graphql): fix and improuve query parsing for logs 2021-11-24 13:23:05 +03:00
procedure_context_concern_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
query_params_store_concern_spec.rb feat(demarche): sign up when prefilling a dossier (#8247) 2022-12-15 10:58:17 +01:00