diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-22 08:17:26 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-22 08:20:18 +0900 |
commit | edcbb2e5b7505e072ae981a4eb5b23dc5d537e42 (patch) | |
tree | 3bda14b0de8c8c72198de6906812cdaedd9c869b /activemodel | |
parent | 88b16843f67bcd96395444ba8f139895351da0bc (diff) | |
download | rails-edcbb2e5b7505e072ae981a4eb5b23dc5d537e42.tar.gz rails-edcbb2e5b7505e072ae981a4eb5b23dc5d537e42.tar.bz2 rails-edcbb2e5b7505e072ae981a4eb5b23dc5d537e42.zip |
Fix store accessors in parameters test
* The method name must be `stored_attributes`, not `stores_attributes`.
* `attribute_names` must return a non-empty value. Because
`stored_attributes` is not checked if `attribute_names` is empty.
Follow up to #28056
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions