demarches-normaliennes/spec/helpers
Pierre de La Morinerie 970c3e4b2b specs: avoid executing business logic in Procedure factory
Calling business logic in a factory is a code-smell, because it
usually requires the object to be saved into database, and may have
unintended consequences when the business logic is changed.

Also, this allows to just build a published procedure, without saving it
to the database.
2021-11-23 08:07:07 +01:00
..
application_helper_spec.rb [fix #3710] date with letter 2019-06-12 17:48:12 +02:00
archive_helper_spec.rb add spec for archive weight estimation 2021-06-09 10:52:38 +02:00
commentaire_helper_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
conservation_de_donnees_helper_spec.rb feat(procedure): remove duree_conservation_dossiers_hors_ds 2021-11-16 19:55:56 +03:00
dossier_helper_spec.rb specs: avoid executing business logic in Procedure factory 2021-11-23 08:07:07 +01:00
dossier_link_helper_spec.rb fix dossier link helper 2021-03-18 14:36:08 +01:00
etablissement_helper_spec.rb prend en compte le nom de l'enseigne pour l'établissement 2020-08-20 14:23:02 +02:00
html_to_string_helper_spec.rb [Fix #1078] Fix a crasher in HtmlToStringHelper 2017-12-12 10:06:50 +01:00
procedure_helper_spec.rb change procedure_auto_archive helper name and added a helper for 23 h 59 2020-05-28 13:22:02 +00:00
string_to_html_helper_spec.rb helpers: prevent some texts to be incorrectly detected as links 2020-06-22 14:42:41 +02:00