Files
nairobi/app/models
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-05-09 16:07:21 +02:00
2018-05-22 15:02:35 +02:00
2018-07-03 23:59:20 +02:00
2017-11-17 13:14:03 -04:00
2018-05-22 15:02:35 +02:00
2018-04-04 13:19:01 +02:00
2017-12-15 19:21:02 +01:00