diff options
author | Sam Stephenson <sam@37signals.com> | 2006-03-13 02:11:59 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2006-03-13 02:11:59 +0000 |
commit | 3589871de82c12123f62c80b4924d2696412065c (patch) | |
tree | 8f420e61f86e6860a63cb9bbcc812962954d359f /actionpack/test/controller/mime_responds_test.rb | |
parent | 955583aed4668981ee32dadcdc7e3c35e83d3adf (diff) | |
download | rails-3589871de82c12123f62c80b4924d2696412065c.tar.gz rails-3589871de82c12123f62c80b4924d2696412065c.tar.bz2 rails-3589871de82c12123f62c80b4924d2696412065c.zip |
Added simple alert() notifications for RJS exceptions when config.action_view.debug_rjs = true. Set debug_rjs = true for the default development environment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/mime_responds_test.rb')
-rw-r--r-- | actionpack/test/controller/mime_responds_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/mime_responds_test.rb b/actionpack/test/controller/mime_responds_test.rb index 6fcaaf302d..94273cf4af 100644 --- a/actionpack/test/controller/mime_responds_test.rb +++ b/actionpack/test/controller/mime_responds_test.rb @@ -141,7 +141,7 @@ class MimeControllerTest < Test::Unit::TestCase @request.env["HTTP_ACCEPT"] = "text/javascript" get :using_defaults - assert_equal "$('body').visualEffect(\"highlight\");", @response.body + assert_equal '$("body").visualEffect("highlight");', @response.body @request.env["HTTP_ACCEPT"] = "application/xml" get :using_defaults |