demarches-normaliennes/spec
Pierre de La Morinerie 6afddd8647 spec: fix a flaky experts feature spec
When "invite linked dossiers" is checked, the invitation will generate
one avis per dossier (including the linked ones).

So when we retrieve the email send to the expert, and try to match it
with the avis record, we need to specify wich avis (the one for the main
dossier, or for the linked dossier).

Otherwise the test is flaky, and sometimes doesn't match the right avis
with the sent email.
2020-02-18 10:44:44 +00:00
..
controllers remove dossier.linked_dossiers 2020-02-11 17:49:22 +01:00
factories use discard 2020-02-13 12:31:59 +01:00
features spec: fix a flaky experts feature spec 2020-02-18 10:44:44 +00:00
fixtures Revert "Revert "Merge pull request #4552 from tchak/champ-communes"" 2020-01-14 18:46:07 +01:00
helpers dossier: add a notice when some attachments of the dossier were lost 2020-02-12 11:49:33 +01:00
jobs use discard 2020-02-13 12:31:59 +01:00
lib use discard 2020-02-13 12:31:59 +01:00
mailers mailers: add a link to the procedure when the account already exists 2020-02-12 13:24:52 +00:00
middlewares Use rack_attack_enabled? 2019-08-20 13:29:29 +02:00
models champ: fix siblings for repetition champs 2020-02-17 17:11:17 +01:00
policies champ_policy: allow instructeurs to access private annotations 2019-10-08 14:34:12 +02:00
serializers Fix tests involving attachment urls 2020-01-08 14:46:18 +01:00
services remove invalid excel worksheet characters 2020-01-29 11:45:56 +01:00
support mailers: add a link to the procedure when the account already exists 2020-02-12 13:24:52 +00:00
views dossier: add a custom message for the dossier owner 2020-02-12 11:49:33 +01:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb Use geocoder 2020-01-15 15:04:04 +01:00