RethinkDB does not guarantee ordering without using an order_by statement. So using straight comparison of lists to verify collection functionality fails inconsistently. Changed this to simply verify the existence of each record in the results. This merely compares IDs as these should be unique and property/field comparison should be covered in model tests.
RethinkDB does not guarantee ordering without using an order_by statement. So using straight comparison of lists to verify collection functionality fails inconsistently. Changed this to simply verify the existence of each record in the results. This merely compares IDs as these should be unique and property/field comparison should be covered in model tests.