diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-09-30 09:30:48 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-09-30 09:30:48 +0900 |
commit | 7ea546b5c661b18067ebec9d0badbd3c393964d2 (patch) | |
tree | e257369215ec18986845a7cc8d2bfef70d64d1d5 /activejob/CHANGELOG.md | |
parent | 445a74e1a953c0b0bddf51b69865d43cce6ea859 (diff) | |
download | rails-7ea546b5c661b18067ebec9d0badbd3c393964d2.tar.gz rails-7ea546b5c661b18067ebec9d0badbd3c393964d2.tar.bz2 rails-7ea546b5c661b18067ebec9d0badbd3c393964d2.zip |
Make `test_initialize_with_invalid_attribute` work correctly
Originally specified attributes were only normal values, and
`ActiveRecord::MultiparameterAssignmentErrors` did not occur.
In addition, an assertion is performed only on rescue, even if an
exception does not occur, the test passes. To avoid this use `assert_raise`.
Diffstat (limited to 'activejob/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions