diff options
author | Erik St. Martin <alakriti@gmail.com> | 2010-01-23 13:12:08 -0500 |
---|---|---|
committer | Stefan Penner <stefan.penner@gmail.com> | 2010-01-27 12:44:32 -0600 |
commit | 5462caf434d7313b0a5bff75fd2bca35bbaf42a6 (patch) | |
tree | fbc859b536aa73784028c54560f8cb2cdaa40093 /actionpack/test | |
parent | 1cd8b98d0193a298b6fb68443f3d24ccb4aa9447 (diff) | |
download | rails-5462caf434d7313b0a5bff75fd2bca35bbaf42a6.tar.gz rails-5462caf434d7313b0a5bff75fd2bca35bbaf42a6.tar.bz2 rails-5462caf434d7313b0a5bff75fd2bca35bbaf42a6.zip |
fixing failing tests from last commit, order of attributes matters should probably change this later
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/ajax_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/ajax_helper_test.rb b/actionpack/test/template/ajax_helper_test.rb index 95c839b96e..80d1f42327 100644 --- a/actionpack/test/template/ajax_helper_test.rb +++ b/actionpack/test/template/ajax_helper_test.rb @@ -58,7 +58,7 @@ class LinkToRemoteTest < AjaxTestCase end test "with :html options" do - expected = %{<a href="/blog/destroy/3" data-custom="me" data-remote="true" data-update-success="#posts">Delete this post</a>} + expected = %{<a data-custom="me" data-remote="true" data-update-success="#posts" href="/blog/destroy/3">Delete this post</a>} assert_equal expected, link(:update => "#posts", :html => {"data-custom" => "me"}) end @@ -86,7 +86,7 @@ class LinkToRemoteTest < AjaxTestCase end test "basic link_to_remote with :url =>" do - expected = %{<a href="/blog/destroy/4" data-remote="true" data-update-success="#posts">Delete this post</a>} + expected = %{<a data-remote="true" data-update-success="#posts" href="/blog/destroy/4">Delete this post</a>} assert_equal expected, link_to_remote("Delete this post", :url => "/blog/destroy/4", :update => "#posts") end |