From f36fd0e09c94353f886776906d408b0a6fb5f815 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Sat, 9 Jun 2012 12:28:00 +0530 Subject: Duplicate tests removed. --- actionpack/test/template/url_helper_test.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 8ca23c5c8e..95f3b33bcf 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -103,22 +103,6 @@ class UrlHelperTest < ActiveSupport::TestCase assert_dom_equal "
", button_to("Hello", "http://www.example.com", :remote => true, :form => { :class => "custom-class", "data-type" => "json" } ) end - def test_button_to_with_remote_and_javascript_confirm - assert_deprecated ":confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => \'Text\' }' instead" do - assert_dom_equal( - "
", - button_to("Hello", "http://www.example.com", :remote => true, :confirm => "Are you sure?") - ) - end - end - - def test_button_to_with_remote_and_javascript_confirm_without_deprecation_warning - assert_dom_equal( - "
", - button_to("Hello", "http://www.example.com", :remote => true, :data => { :confirm => "Are you sure?" }) - ) - end - def test_button_to_with_remote_and_javascript_disable_with assert_deprecated ":disable_with option is deprecated and will be removed from Rails 4.0. Use 'data-disable-with' instead" do assert_dom_equal( -- cgit v1.2.3