Permalink
Browse files

Fix test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent f50a958 commit f46eb2ab64b43bdf8d03683904de2cd97b73d0de @dhh dhh committed Mar 22, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/template/prototype_helper_test.rb
@@ -406,7 +406,7 @@ def test_collection_proxy_with_find_all
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

0 comments on commit f46eb2a

Please sign in to comment.