diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2014-03-13 16:56:29 +0100 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2014-03-14 13:18:21 +0100 |
commit | 9f677bf043eb359a91d346bb5a1e6ee81cef6665 (patch) | |
tree | 8ae5f7c96d8f10e93688e716c8ca1e759a1c36b4 /actionview/test | |
parent | 03b8922ee4ba6051ae18917b5904f8664e715695 (diff) | |
download | rails-9f677bf043eb359a91d346bb5a1e6ee81cef6665.tar.gz rails-9f677bf043eb359a91d346bb5a1e6ee81cef6665.tar.bz2 rails-9f677bf043eb359a91d346bb5a1e6ee81cef6665.zip |
Add mocked disable_cache for FixtureFinder
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/digestor_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb index 2d4c434f9c..1c47952f54 100644 --- a/actionview/test/template/digestor_test.rb +++ b/actionview/test/template/digestor_test.rb @@ -36,6 +36,10 @@ class FixtureFinder FixtureTemplate.new("digestor/#{partial_name}.#{format}.erb") end + + def disable_cache(&block) + yield + end end class TemplateDigestorTest < ActionView::TestCase |