JQuery in, Prototype/Scriptaculous out (#11445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user