1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add mocked disable_cache for FixtureFinder

This commit is contained in:
Łukasz Strzałkowski 2014-03-13 16:56:29 +01:00
parent 03b8922ee4
commit 9f677bf043

View file

@ -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