demarches-normaliennes/spec
Pierre de La Morinerie 71741c5f98 views: fix checkbox wrongly selected in multiple_drop_down_list
The check for whether the checkbox should be checked or not was made by
matching the whole string. Thus, given two options 'valid' and
'invalid', the check for the presence of 'valid' would succeed even when
only 'invalid' was present in the values (because
`'valid'.includes?('invalid')`.

The code now checks against the list of items in the selected_options.
2021-07-20 09:01:07 +02:00
..
controllers tests 2021-07-15 16:32:07 +02:00
factories Revert "Revert "Expose dossier PDF export as IO"" 2021-06-24 21:01:59 +02:00
features Add a point on map from coordinates input 2021-07-07 13:33:28 +02:00
fixtures fix encoding problems with cherlock Holmes gem 2021-07-13 10:58:41 +02:00
helpers add spec for archive weight estimation 2021-06-09 10:52:38 +02:00
jobs Prevent double processing of declarative dossiers 2021-06-04 17:55:40 +02:00
lib Revert "Revert "Expose dossier PDF export as IO"" 2021-06-24 21:01:59 +02:00
mailers routes: replace the email param in the Avis URLs by a query param 2021-06-17 11:15:51 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models Revert "Instructeurs : limitation de la valeur d'un filtre à 100 caractères" 2021-07-13 18:19:46 +02:00
policies policies: fix champ policy for guest users 2020-04-02 11:27:14 +02:00
serializers Add compatibility cadsatre layer with old API GEO 2021-05-24 11:57:00 +02:00
services Revert "Revert "Expose dossier PDF export as IO"" 2021-06-24 21:01:59 +02:00
support jobs: extract an RetryOnTranscientErrors concern 2021-04-29 14:08:12 +02:00
views views: fix checkbox wrongly selected in multiple_drop_down_list 2021-07-20 09:01:07 +02:00
rails_helper.rb spec: better split spec_helper and rails_helper 2021-03-04 22:59:39 +01:00
spec_helper.rb Chore(test): enable rspec only-failures support 2021-04-15 14:17:39 +02:00