diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-25 21:44:21 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-25 21:50:26 -0500 |
commit | f2d8d13c6495f2a9b3bbf3b50d869c0e5b25c207 (patch) | |
tree | 03154d7843617fe745a9316c6a010dc7944c5f0f /actionpack/test/template/javascript_helper_test.rb | |
parent | ba0d621695c372464383b56d2f33a7b892ed6aa5 (diff) | |
download | rails-f2d8d13c6495f2a9b3bbf3b50d869c0e5b25c207.tar.gz rails-f2d8d13c6495f2a9b3bbf3b50d869c0e5b25c207.tar.bz2 rails-f2d8d13c6495f2a9b3bbf3b50d869c0e5b25c207.zip |
Performance: Cache modules that extend the view context for JavaScriptGenerator
Diffstat (limited to 'actionpack/test/template/javascript_helper_test.rb')
-rw-r--r-- | actionpack/test/template/javascript_helper_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb index d41111127b..2e9cdd3fea 100644 --- a/actionpack/test/template/javascript_helper_test.rb +++ b/actionpack/test/template/javascript_helper_test.rb @@ -108,4 +108,9 @@ 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 |