diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-07 19:41:58 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-07 19:41:58 +0100 |
commit | c7564d74e8a9b451f9fc78566ab0c734671f9612 (patch) | |
tree | c903fd5650626a79f53c89ccb1b8e10e1052bae6 /actionpack/test/template | |
parent | 6e0443fd433393dc1967fab4f4fa06dc2b3c02fd (diff) | |
download | rails-c7564d74e8a9b451f9fc78566ab0c734671f9612.tar.gz rails-c7564d74e8a9b451f9fc78566ab0c734671f9612.tar.bz2 rails-c7564d74e8a9b451f9fc78566ab0c734671f9612.zip |
Added template lookup responsible to hold all information used in template lookup.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/javascript_helper_test.rb | 4 | ||||
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb index 368a9c2514..6604f1c095 100644 --- a/actionpack/test/template/javascript_helper_test.rb +++ b/actionpack/test/template/javascript_helper_test.rb @@ -7,8 +7,8 @@ class JavaScriptHelperTest < ActionView::TestCase attr_accessor :formats, :output_buffer - def reset_formats(format) - @format = format + def update_details(details) + @details = details yield if block_given? end diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 6811d3aaf3..619293dc43 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -39,8 +39,8 @@ class Author::Nested < Author; end class PrototypeHelperBaseTest < ActionView::TestCase attr_accessor :formats, :output_buffer - def reset_formats(format) - @format = format + def update_details(details) + @details = details yield if block_given? end |