Javier Martín
37eaf29517
Fix flaky emails spec.
...
These tests were failing randomly because there is no guarantee
the methods `Budget#email_selected` and `Budget#email_unselected` will
always send the emails in the same order, because `investments.selected`
and `investments.unselected` don't necessarily return the records in the
order they were created.
Ordering by id is certainly not very elegant; however, ordering by
another field like `created_at` is dangerous because the record could be
created at (almost) the exact same time.
Related to issue #2446 and issue #2519 .
2018-07-03 23:59:20 +02:00
..
2018-04-04 13:21:21 +02:00
2018-02-10 21:22:47 +01:00
2018-05-09 16:07:21 +02:00
2018-05-22 15:02:35 +02:00
2016-05-31 19:57:37 +02:00
2017-12-14 16:15:30 +01:00
2018-04-04 14:21:39 +02:00
2018-02-19 11:09:19 +01:00
2017-07-18 11:40:19 +02:00
2018-04-04 14:21:39 +02:00
2018-05-30 13:32:20 +02:00
2015-07-15 13:32:13 +02:00
2017-07-05 11:55:52 +02:00
2017-06-28 14:12:51 +02:00
2016-03-08 15:45:58 +01:00
2016-11-30 12:00:05 +01:00
2017-06-28 14:12:51 +02:00
2018-07-03 23:59:20 +02:00
2015-10-22 12:23:15 +02:00
2017-11-17 13:14:03 -04:00
2018-01-31 02:03:03 +01:00
2018-01-23 00:22:53 +01:00
2018-01-12 18:35:15 +01:00
2017-10-23 12:15:31 +02:00
2018-01-03 17:38:44 +01:00
2018-01-03 17:38:44 +01:00
2017-02-12 14:22:46 +01:00
2017-06-26 17:57:53 +02:00
2017-07-25 13:01:03 +02:00
2017-06-26 17:57:53 +02:00
2016-01-26 18:10:47 +01:00
2018-05-28 18:17:26 +02:00
2016-11-30 12:00:05 +01:00
2016-12-05 13:24:23 +01:00
2017-07-19 19:49:16 +02:00
2016-11-23 19:19:19 +01:00
2016-05-10 18:31:50 +02:00
2018-04-25 20:05:19 +02:00
2015-09-05 22:02:51 +02:00
2018-03-01 20:59:20 +01:00
2018-03-23 11:47:06 +01:00
2017-07-10 13:22:49 +02:00
2017-12-14 16:15:30 +01:00
2017-12-14 16:15:30 +01:00
2018-01-12 18:35:15 +01:00
2017-12-20 10:24:00 +01:00
2018-01-12 18:35:15 +01:00
2017-06-28 14:12:51 +02:00
2017-07-05 11:55:52 +02:00
2017-07-14 15:50:26 +02:00
2017-04-06 16:25:07 +02:00
2017-07-05 11:55:52 +02:00
2017-06-26 18:03:40 +02:00
2017-12-14 16:15:30 +01:00
2018-05-22 15:02:35 +02:00
2016-04-26 23:33:19 +02:00
2018-04-05 22:12:06 +02:00
2018-04-04 13:19:01 +02:00
2017-06-26 18:05:14 +02:00
2015-08-08 12:56:41 +02:00
2017-12-15 19:21:02 +01:00