diff options
author | Martin Westin <martin@eimermusic.com> | 2013-04-25 09:37:46 +0200 |
---|---|---|
committer | Martin Westin <martin@eimermusic.com> | 2013-04-25 09:52:04 +0200 |
commit | 9a79c13c45b34c8bf338d341a421badeb4815c94 (patch) | |
tree | b73fe4913691111d2a50ded779ef43640b0d49ae /actionpack/test/template/digestor_test.rb | |
parent | 8aafb3d33d55130ef40946958f629e269d007bfe (diff) | |
download | rails-9a79c13c45b34c8bf338d341a421badeb4815c94.tar.gz rails-9a79c13c45b34c8bf338d341a421badeb4815c94.tar.bz2 rails-9a79c13c45b34c8bf338d341a421badeb4815c94.zip |
AV Digestor correctly passes format to LookupContext
ActionView::Digestor now passes arguments correctly to
LookupContext::find method. This makes cache digests
respect the format option correctly.
FixtureFinder in tests also changed to reflect this.
Diffstat (limited to 'actionpack/test/template/digestor_test.rb')
-rw-r--r-- | actionpack/test/template/digestor_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/digestor_test.rb b/actionpack/test/template/digestor_test.rb index e29cecabc0..4c4264c0ba 100644 --- a/actionpack/test/template/digestor_test.rb +++ b/actionpack/test/template/digestor_test.rb @@ -15,7 +15,7 @@ end class FixtureFinder FIXTURES_DIR = "#{File.dirname(__FILE__)}/../fixtures/digestor" - def find(logical_name, keys, partial, options) + def find(logical_name, prefixes, partial, keys, options) FixtureTemplate.new("digestor/#{partial ? logical_name.gsub(%r|/([^/]+)$|, '/_\1') : logical_name}.#{options[:formats].first}.erb") end end |