From 90520d2eee9093f46757a5e2e589d2237cc960f1 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Mon, 14 Nov 2016 12:03:48 +0000 Subject: Remove deprecated method Numeric#to_formatted_s --- activesupport/test/core_ext/numeric_ext_test.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activesupport/test') diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb index a6e5ea5ab7..19dc4e5136 100644 --- a/activesupport/test/core_ext/numeric_ext_test.rb +++ b/activesupport/test/core_ext/numeric_ext_test.rb @@ -376,12 +376,6 @@ class NumericExtFormattingTest < ActiveSupport::TestCase assert_equal "1 Million", BigDecimal("1000010").to_s(:human) end - def test_to_formatted_s_is_deprecated - assert_deprecated do - 5551234.to_formatted_s(:phone) - end - end - def test_to_s_with_invalid_formatter assert_equal "123", 123.to_s(:invalid) assert_equal "2.5", 2.5.to_s(:invalid) -- cgit v1.2.3