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. |
||
---|---|---|
.. | ||
previews | ||
administration_mailer_spec.rb | ||
application_mailer_spec.rb | ||
avis_mailer_spec.rb | ||
dossier_mailer_spec.rb | ||
groupe_instructeur_mailer_spec.rb | ||
instructeur_mailer_spec.rb | ||
notification_mailer_spec.rb | ||
user_mailer_spec.rb |