From 6a2ca5e0342751b6d38a1a05ad25b5c0002d6e46 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Sun, 22 Jul 2012 13:29:26 +0000
Subject: JQuery in, Prototype/Scriptaculous out (#11445).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 test/functional/welcome_controller_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'test/functional/welcome_controller_test.rb')

diff --git a/test/functional/welcome_controller_test.rb b/test/functional/welcome_controller_test.rb
index a846d1aaf..8106f60a1 100644
--- a/test/functional/welcome_controller_test.rb
+++ b/test/functional/welcome_controller_test.rb
@@ -77,7 +77,7 @@ class WelcomeControllerTest < ActionController::TestCase
     get :index
     assert_tag 'script',
       :attributes => {:type => "text/javascript"},
-      :content => %r{new WarnLeavingUnsaved}
+      :content => %r{warnLeavingUnsaved}
   end
 
   def test_warn_on_leaving_unsaved_turn_off
@@ -89,7 +89,7 @@ class WelcomeControllerTest < ActionController::TestCase
     get :index
     assert_no_tag 'script',
       :attributes => {:type => "text/javascript"},
-      :content => %r{new WarnLeavingUnsaved}
+      :content => %r{warnLeavingUnsaved}
   end
 
   def test_call_hook_mixed_in
-- 
cgit v1.2.3