diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-07 15:51:01 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-07-07 15:51:01 -0700 |
commit | 59a9068c3fa501ca23d60f3a83c0968e9ed4639a (patch) | |
tree | 97b1565925202df3f81515ec32f24b4a3fee1c7e /activerecord/test/models/hotel.rb | |
parent | 8363b879fe759f0645179f4521cc64795efbee6e (diff) | |
download | rails-59a9068c3fa501ca23d60f3a83c0968e9ed4639a.tar.gz rails-59a9068c3fa501ca23d60f3a83c0968e9ed4639a.tar.bz2 rails-59a9068c3fa501ca23d60f3a83c0968e9ed4639a.zip |
pass variants in rather than mutating the request.
Variants are typically set in the controller based on some attribute of
the request that the browser sent. We should make our tests more in
line with reality by doing the same and not mutating the request object.
Diffstat (limited to 'activerecord/test/models/hotel.rb')
0 files changed, 0 insertions, 0 deletions