diff options
Diffstat (limited to 'actionpack/test/template/ajax_helper_test.rb')
-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 86932d754f..95c839b96e 100644 --- a/actionpack/test/template/ajax_helper_test.rb +++ b/actionpack/test/template/ajax_helper_test.rb @@ -104,8 +104,8 @@ class ButtonToRemoteTest < AjaxTestCase class StandardTest < ButtonToRemoteTest test "basic" do - assert_html button({:url => {:action => "whatnot"}}, {:class => "fine"}), - %w(input class="fine" type="button" value="Remote outpost" data-url="/url/hash") + expected = %{<input class="fine" data-remote="true" data-url="/url/hash" type="button" value="Remote outpost" />} + assert_equal expected, button({:url => "/url/hash"}, {:class => "fine"}) end end |