99086a63be
Use of one-dimension arrays comparison & `contain_exactly` RSpec matcher to avoid this behaviour: Failures: 1) InstructeursImportService#import when an email is malformed ignores or corrects Failure/Error: expect(procedure_groupes).to match_array([ ["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]], ["défaut", []] ]) expected collection contained: [["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]], ["défaut", []]] actual collection contained: [["Occitanie", ["ringo@starr.uk", "paul@mccartney.uk"]], ["défaut", []]] the missing elements were: [["Occitanie", ["paul@mccartney.uk", "ringo@starr.uk"]]] the extra elements were: [["Occitanie", ["ringo@starr.uk", "paul@mccartney.uk"]]] # ./spec/services/instructeurs_import_service_spec.rb:70:in `block (4 levels) in <main>' |
||
---|---|---|
.. | ||
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 | ||
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 |