aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-01-26 17:06:31 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-01-26 17:06:31 -0800
commit0361d8449ff1c18da041df4b7dfe648abf0f1887 (patch)
treed3b10eed8431f5ff46066e88a9fd5984075cb4d7 /actionpack/lib/action_dispatch/journey.rb
parent755f7b58953c25790eea0574ff8928033ded2d88 (diff)
downloadrails-0361d8449ff1c18da041df4b7dfe648abf0f1887.tar.gz
rails-0361d8449ff1c18da041df4b7dfe648abf0f1887.tar.bz2
rails-0361d8449ff1c18da041df4b7dfe648abf0f1887.zip
clear view path cache between tests
The cache for `render file:` seems to also be used in the case of `render(string)`. If one is supposed to be a hit and the other is supposed to be a miss, and they both reference the same file, then the cache could return incorrect values. This commit clears the cache between runs so that we get non-cached behavior.
Diffstat (limited to 'actionpack/lib/action_dispatch/journey.rb')
0 files changed, 0 insertions, 0 deletions