demarches-normaliennes/spec/controllers/instructeurs
Pierre de La Morinerie 6a47458112 specs: use order-insentitive matching for arrays
The specs sometime failes locally, because the order of the returned
objects is undefined.

This is an acceptable behavior – but it means we should test for
collection membership, rather than for a specific array order.

Replace `match` by `match_array` to have unordered matching.
2020-01-21 17:24:56 +01:00
..
avis_controller_spec.rb instructeurs: fix expert creation not to use Instructeur.email 2019-11-04 10:44:24 +01:00
dossiers_controller_spec.rb added automated tests for PDF rendering 2020-01-14 09:29:29 +01:00
groupe_instructeurs_controller_spec.rb instructeurs: alias instructeur.email 2019-11-04 10:44:24 +01:00
instructeur_controller_spec.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
procedures_controller_spec.rb specs: use order-insentitive matching for arrays 2020-01-21 17:24:56 +01:00
recherche_controller_spec.rb Instructeur has_many procedures through groupe_instructeur 2019-09-02 11:41:12 +02:00