Files
nairobi/spec/features
Javier Martín 4a559ed3cd Avoid date changes during results tests.
As explained by @iagirre with pinpoint accuracy [1]:

"If the officer_assignments are created at 23:59:59 and the rest of the
test is executed after 00:00:00, the dates for the objects and the
`Date.current` (used to check if there are any shifts today) won't be
the same, because the shift will be for, lets say, 07/03/2018 and
`Date.current` will be 08/03/2018, so, there are no shifts."

Freezing time avoids this issue.

Related to issues #2520 and #2521.

[1] https://github.com/AyuntamientoMadrid/consul/pull/1342
2018-07-09 00:06:55 +02:00
..
2018-07-05 18:14:22 +02:00
2018-07-02 17:41:53 +02:00
2018-04-04 14:01:51 +02:00
2015-09-13 11:47:57 +02:00
2018-06-08 18:40:07 +02:00
2016-02-08 17:49:03 +01:00
2018-05-22 15:41:10 +02:00