demarches-normaliennes/spec/services
François Vantomme 99086a63be Fix (Instructeur): deal nicely with non-guaranteed elements order in arrays
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>'
2021-05-27 08:33:52 +02:00
..
administrateur_usage_statistics_service_spec.rb fix tests that now requir an admin user to have a strong password 2020-09-18 11:16:34 +02:00
api_entreprise_service_spec.rb zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
bill_signature_service_spec.rb WIP 2020-07-07 18:03:56 +02:00
clamav_service_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
commentaire_service_spec.rb active_storage: refactor concerns 2021-03-16 11:49:14 +01:00
dossier_projection_service_spec.rb address champ needs the data column 2021-05-19 15:59:18 +02:00
dossier_search_service_spec.rb cleanup tests 2021-05-18 11:42:10 +02:00
expired_dossiers_deletion_service_spec.rb specs: fix test failing on March 1st 2021-03-02 12:26:28 +01:00
france_connect_service_spec.rb disable france connect authentication for admin and instructeurs 2021-02-10 18:13:47 +01:00
geojson_service_spec.rb Remove quartiers prioritaires 2020-04-14 10:29:59 +02:00
instructeurs_import_service_spec.rb Fix (Instructeur): deal nicely with non-guaranteed elements order in arrays 2021-05-27 08:33:52 +02:00
ip_service_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
notification_service_spec.rb fetch all notification at once 2021-04-29 11:23:41 +02:00
pieces_justificatives_service_spec.rb prend en compte uniquement les pj pour estimer la taille d'un dossier 2021-05-04 12:50:12 +02:00
procedure_archive_service_spec.rb Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
procedure_export_service_spec.rb spec: fix rspec raise_error warning 2021-02-09 10:12:32 +01:00