diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-22 19:28:46 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-22 19:28:46 +0000 |
commit | f46eb2ab64b43bdf8d03683904de2cd97b73d0de (patch) | |
tree | e83343a1a175bac2e2aba9ae01d523ed5d75421d /actionpack | |
parent | f50a95819b4d220d56c07294c7b9700d0bf48b4e (diff) | |
download | rails-f46eb2ab64b43bdf8d03683904de2cd97b73d0de.tar.gz rails-f46eb2ab64b43bdf8d03683904de2cd97b73d0de.tar.bz2 rails-f46eb2ab64b43bdf8d03683904de2cd97b73d0de.zip |
Fix test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 65e8cf9b96..71ba44d227 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -406,7 +406,7 @@ return (value.className == "welcome"); def test_debug_rjs ActionView::Base.debug_rjs = true @generator['welcome'].replace_html 'Welcome' - assert_equal "try {\n$(\"welcome\").update(\"Welcome\");\n} catch (e) { alert('RJS error:\\n\\n' + e.toString()); throw e }", @generator.to_s + assert_equal "try {\n$(\"welcome\").update(\"Welcome\");\n} catch (e) { alert('RJS error:\\n\\n' + e.toString()); alert('$(\\\"welcome\\\").update(\\\"Welcome\\\");'); throw e }", @generator.to_s ensure ActionView::Base.debug_rjs = false end |