1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/scoping
Michael Grosser a9aed2ac94
improve error message when include assertions fail
assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message

assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
2016-09-16 12:03:37 -07:00
..
default_scoping_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
named_scoping_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
relation_scoping_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00