diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-26 12:14:21 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-26 12:17:55 -0500 |
commit | 229eedfda87a7706dbb5e3e51af8707b3adae375 (patch) | |
tree | 1a782151632dd80c8a18c3960536bdf8643debe3 /actionpack/test | |
parent | c111522d5b8cd108756240a0348d515d6acee46c (diff) | |
download | rails-229eedfda87a7706dbb5e3e51af8707b3adae375.tar.gz rails-229eedfda87a7706dbb5e3e51af8707b3adae375.tar.bz2 rails-229eedfda87a7706dbb5e3e51af8707b3adae375.zip |
Cache JavaScriptGenerator's helper module set on the template
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/javascript_helper_test.rb | 5 | ||||
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb index 2e9cdd3fea..d41111127b 100644 --- a/actionpack/test/template/javascript_helper_test.rb +++ b/actionpack/test/template/javascript_helper_test.rb @@ -108,9 +108,4 @@ class JavaScriptHelperTest < ActionView::TestCase def test_javascript_cdata_section assert_dom_equal "\n//<![CDATA[\nalert('hello')\n//]]>\n", javascript_cdata_section("alert('hello')") end - - private - def extended_by_without_helpers - [] - end end diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 5397ae3688..abc9f930dd 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -53,10 +53,6 @@ class PrototypeHelperBaseTest < ActionView::TestCase false end - def extended_by_without_helpers - [] - end - def create_generator block = Proc.new { |*args| yield *args if block_given? } JavaScriptGenerator.new self, &block |