From 9f677bf043eb359a91d346bb5a1e6ee81cef6665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Thu, 13 Mar 2014 16:56:29 +0100 Subject: Add mocked disable_cache for FixtureFinder --- actionview/test/template/digestor_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionview/test') 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 -- cgit v1.2.3