diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-01-26 17:06:31 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-01-26 17:06:31 -0800 |
commit | 0361d8449ff1c18da041df4b7dfe648abf0f1887 (patch) | |
tree | d3b10eed8431f5ff46066e88a9fd5984075cb4d7 /actionpack/lib/action_controller/base.rb | |
parent | 755f7b58953c25790eea0574ff8928033ded2d88 (diff) | |
download | rails-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_controller/base.rb')
0 files changed, 0 insertions, 0 deletions