Permalink
Browse files

Add mocked disable_cache for FixtureFinder

  • Loading branch information...
1 parent 03b8922 commit 9f677bf043eb359a91d346bb5a1e6ee81cef6665 @lukaszx0 lukaszx0 committed Mar 13, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionview/test/template/digestor_test.rb
@@ -36,6 +36,10 @@ def find(name, prefixes = [], partial = false, keys = [], options = {})
FixtureTemplate.new("digestor/#{partial_name}.#{format}.erb")
end
+
+ def disable_cache(&block)
+ yield
+ end
end
class TemplateDigestorTest < ActionView::TestCase

0 comments on commit 9f677bf

Please sign in to comment.