aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/url_helper_test.rb
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-06-09 12:28:00 +0530
committerArun Agrawal <arunagw@gmail.com>2012-06-09 12:28:00 +0530
commitf36fd0e09c94353f886776906d408b0a6fb5f815 (patch)
tree17792ccd3a2ca612e22297ebefc7f9ecc6db24a5 /actionpack/test/template/url_helper_test.rb
parent8475cddc986d9401f1d56c511f79032b5daed7c7 (diff)
downloadrails-f36fd0e09c94353f886776906d408b0a6fb5f815.tar.gz
rails-f36fd0e09c94353f886776906d408b0a6fb5f815.tar.bz2
rails-f36fd0e09c94353f886776906d408b0a6fb5f815.zip
Duplicate tests removed.
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r--actionpack/test/template/url_helper_test.rb16
1 files changed, 0 insertions, 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 "<form method=\"post\" action=\"http://www.example.com\" class=\"custom-class\" data-remote=\"true\" data-type=\"json\"><div><input type=\"submit\" value=\"Hello\" /></div></form>", 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(
- "<form method=\"post\" action=\"http://www.example.com\" class=\"button_to\" data-remote=\"true\"><div><input data-confirm=\"Are you sure?\" type=\"submit\" value=\"Hello\" /></div></form>",
- 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(
- "<form method=\"post\" action=\"http://www.example.com\" class=\"button_to\" data-remote=\"true\"><div><input data-confirm=\"Are you sure?\" type=\"submit\" value=\"Hello\" /></div></form>",
- 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(