Files
nairobi/spec/models
Javi Martín 3b11f8b567 Avoid duplicate records in current_or_recounting
Joining two scopes with `+` does not remove duplicate records. Luckily
now that we've upgraded to Rails 5, we can join scopes using `.or`.

The test was testing for the presence of elements, bud didn't test for
duplicate records. Testing the exact contents of the array revealed this
behaviour.
2019-09-26 19:58:02 +02:00
..
2019-09-24 21:34:06 +02:00
2019-09-24 21:32:52 +02:00
2019-09-24 21:34:06 +02:00
2019-05-31 18:22:59 +02:00
2019-03-27 15:22:14 +01:00
2019-09-24 18:49:40 +02:00
2019-09-07 16:43:41 +02:00
2019-09-24 21:32:52 +02:00