From 8b7cd5ae7ef2d8072779d756281f440f19f9500d Mon Sep 17 00:00:00 2001 From: "Stephen St. Martin" Date: Mon, 25 Jan 2010 22:45:44 -0500 Subject: fix duplidate data-submit attribute, submit_to_remote should test url --- actionpack/test/template/ajax_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/ajax_helper_test.rb b/actionpack/test/template/ajax_helper_test.rb index 2e46a38656..4a84ce47e0 100644 --- a/actionpack/test/template/ajax_helper_test.rb +++ b/actionpack/test/template/ajax_helper_test.rb @@ -267,8 +267,8 @@ class AjaxHelperTest < AjaxHelperBaseTest end test "submit_to_remote" do - assert_dom_equal %(), - submit_to_remote("More beer!", 1_000_000, :update => "empty_bottle") + assert_dom_equal %(), + submit_to_remote("More beer!", 1_000_000, :url => { :action => 'empty_bottle' }, :update => "empty_bottle") end test "observe_field" do -- cgit v1.2.3