From 86cb0a61fb8e07388fdc026530ce113e93f5272d Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Sat, 16 Feb 2008 00:07:52 +0000 Subject: Ensure that :confirm doesn't need extra quotes when using drop_receiving_element. Closes #8299 [thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/scriptaculous_helper_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actionpack/test/template/scriptaculous_helper_test.rb') diff --git a/actionpack/test/template/scriptaculous_helper_test.rb b/actionpack/test/template/scriptaculous_helper_test.rb index 8d55804fee..91856ff980 100644 --- a/actionpack/test/template/scriptaculous_helper_test.rb +++ b/actionpack/test/template/scriptaculous_helper_test.rb @@ -88,8 +88,10 @@ class ScriptaculousHelperTest < Test::Unit::TestCase drop_receiving_element("droptarget1", :accept => 'products', :update => 'infobox') assert_dom_equal %(), drop_receiving_element("droptarget1", :accept => ['tshirts','mugs'], :update => 'infobox') - end + assert_dom_equal %(), + drop_receiving_element('droptarget1', :hoverclass=>'dropready', :url=>{:action=>'update_drop'}, :confirm => 'Are you sure?') + end def protect_against_forgery? false end -- cgit v1.2.3