970c3e4b2b
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. |
||
---|---|---|
.. | ||
application_helper_spec.rb | ||
archive_helper_spec.rb | ||
commentaire_helper_spec.rb | ||
conservation_de_donnees_helper_spec.rb | ||
dossier_helper_spec.rb | ||
dossier_link_helper_spec.rb | ||
etablissement_helper_spec.rb | ||
html_to_string_helper_spec.rb | ||
procedure_helper_spec.rb | ||
string_to_html_helper_spec.rb |