demarches-normaliennes/spec
Nicolas Bouilleaud 1c2e93ed41 Fix “nearing_end_of_retention” test
The `nearing_end_of_retention` test creates a `just_expired_dossier` “six months ago”, which is 29 Oct 2018. The autumn DST change was on October 28; this is the first time this test runs under these conditions. We workaround the time offset by creating the dossier one hour earlier.

This is technically a workaround, not a fix: the date arithmetics in `nearing_end_of_retention` are probably wrong. It looks like it’s comparing intervals, which seems error-prone, while it should be comparing dates. For now, I’m just making the tests pass.
2019-04-29 15:41:52 +02:00
..
controllers Always create menu deroulant champs with a value 2019-04-11 14:38:21 +02:00
factories Fix factory to avoid crash because of procedure is nil 2019-04-11 12:25:55 +02:00
features Fix type de champ menu déroulant 2019-04-03 21:53:57 +02:00
fixtures Fix Sentry 165 : api crash when siret is unknown 2019-03-12 17:53:11 +01:00
helpers Revert english dates 2019-04-02 14:38:47 +02:00
jobs [fix #3268] Jobs: use automatic_operation 2019-01-16 17:20:12 +01:00
lib Fix Sentry 165 : api crash when siret is unknown 2019-03-12 17:53:11 +01:00
mailers Fix missing helper in notification mailer 2019-04-11 12:25:55 +02:00
models Fix “nearing_end_of_retention” test 2019-04-29 15:41:52 +02:00
serializers Update specs to use multiple administrateurs 2019-03-12 11:59:01 +01:00
services Email notification: use the right method for procedures 2019-04-18 15:07:01 +02:00
support [Types de Champ Editeur] Save on change and only edited model 2019-02-07 17:05:55 +01:00
uploaders [Fix #3016] Do not crash if PJ has no extension 2018-11-21 14:15:45 +01:00
views [Fix #3064] Add a preview button for state notifications emails 2019-04-11 11:03:13 +02:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb Remove feature flag for publish draft 2019-03-12 11:26:07 +01:00