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. |
||
---|---|---|
.. | ||
administrateur_usage_statistics_service_spec.rb | ||
api_entreprise_service_spec.rb | ||
bill_signature_service_spec.rb | ||
clamav_service_spec.rb | ||
commentaire_service_spec.rb | ||
dossier_projection_service_spec.rb | ||
dossier_search_service_spec.rb | ||
encryption_service_spec.rb | ||
expired_dossiers_deletion_service_spec.rb | ||
france_connect_service_spec.rb | ||
geojson_service_spec.rb | ||
instructeurs_import_service_spec.rb | ||
ip_service_spec.rb | ||
notification_service_spec.rb | ||
pieces_justificatives_service_spec.rb | ||
procedure_archive_service_spec.rb | ||
procedure_export_service_spec.rb | ||
zxcvbn_service_spec.rb |