aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-07-07 15:51:01 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-07-07 15:51:01 -0700
commit59a9068c3fa501ca23d60f3a83c0968e9ed4639a (patch)
tree97b1565925202df3f81515ec32f24b4a3fee1c7e /activesupport/lib/active_support/testing
parent8363b879fe759f0645179f4521cc64795efbee6e (diff)
downloadrails-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 'activesupport/lib/active_support/testing')
0 files changed, 0 insertions, 0 deletions