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:
parent
03b8922ee4
commit
9f677bf043
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue