diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-13 18:10:36 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-13 18:10:36 -0700 |
commit | 908bc79729fdb3cc2acbd346d9ed34c9286d57cc (patch) | |
tree | b227d738f5a21dcbf8277962c8deeb79cabc6b3b /activemodel/lib/active_model/validations | |
parent | d9fe10cb8ab05f6575a06f14991cd938052227dd (diff) | |
download | rails-908bc79729fdb3cc2acbd346d9ed34c9286d57cc.tar.gz rails-908bc79729fdb3cc2acbd346d9ed34c9286d57cc.tar.bz2 rails-908bc79729fdb3cc2acbd346d9ed34c9286d57cc.zip |
use a lookup table for `assert_response`
We shouldn't depend on specific methods imlemented in the TestResponse
subclass because the response could actually be a real response object.
In the future, we should either push the aliased predicate methods in
TestResponse up to the real response object, or remove them
Diffstat (limited to 'activemodel/lib/active_model/validations')
0 files changed, 0 insertions, 0 deletions