aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/ajax_helper_test.rb
diff options
context:
space:
mode:
authorErik St. Martin <alakriti@gmail.com>2010-01-26 14:38:57 -0500
committerStefan Penner <stefan.penner@gmail.com>2010-01-27 12:44:35 -0600
commitc0f63883ea24925d4e03c258b874e49cf507cc33 (patch)
tree75c4703e99340be60b6823b645f1f55515235ea2 /actionpack/test/template/ajax_helper_test.rb
parentf661a3bc599ac336aeaf643a8d1d388fe905a07d (diff)
downloadrails-c0f63883ea24925d4e03c258b874e49cf507cc33.tar.gz
rails-c0f63883ea24925d4e03c258b874e49cf507cc33.tar.bz2
rails-c0f63883ea24925d4e03c258b874e49cf507cc33.zip
:href should be comming in through html_options and not options
Diffstat (limited to 'actionpack/test/template/ajax_helper_test.rb')
-rw-r--r--actionpack/test/template/ajax_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/ajax_helper_test.rb b/actionpack/test/template/ajax_helper_test.rb
index 6d332d4fca..4e48543c81 100644
--- a/actionpack/test/template/ajax_helper_test.rb
+++ b/actionpack/test/template/ajax_helper_test.rb
@@ -103,7 +103,7 @@ class AjaxHelperTest < AjaxHelperBaseTest
test "link_to_remote using explicit :href" do
expected = %(<a href=\"http://www.example.com/testhref\" data-remote=\"true\" data-url=\"http://www.example.com/whatnot\" data-condition=\"$('foo').val() == true\">Remote outauthor</a>)
- assert_dom_equal expected, link_to_remote("Remote outauthor", :href => 'http://www.example.com/testhref', :url => { :action => "whatnot" }, :condition => '$(\'foo\').val() == true')
+ assert_dom_equal expected, link_to_remote("Remote outauthor", {:url => { :action => "whatnot" }, :condition => '$(\'foo\').val() == true'}, :href => 'http://www.example.com/testhref')
end
test "link_to_remote using :submit" do