diff options
author | lxxxvi <lxxxvi@users.noreply.github.com> | 2018-05-05 14:11:59 +0200 |
---|---|---|
committer | lxxxvi <lxxxvi@users.noreply.github.com> | 2018-05-05 14:11:59 +0200 |
commit | f4f7659acf22f4f37938034bf78673c81c1511b6 (patch) | |
tree | e225d9d7501b0e1a57b57fd83800ba8174229bf4 /activerecord/test/cases/relation/where_test.rb | |
parent | 42b9e7e50c084e119a679cf155b70b5efc4d36ff (diff) | |
download | rails-f4f7659acf22f4f37938034bf78673c81c1511b6.tar.gz rails-f4f7659acf22f4f37938034bf78673c81c1511b6.tar.bz2 rails-f4f7659acf22f4f37938034bf78673c81c1511b6.zip |
Clearer error message in assert_changes
When `to:` is passed to `assert_changes`, it now prints the well-known `"Expected: x\n Actual: y"` message.
Before, the message only contained the actual value.
Diffstat (limited to 'activerecord/test/cases/relation/where_test.rb')
0 files changed, 0 insertions, 0 deletions