aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-01 18:29:53 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-01 18:29:53 -0200
commit4ac114471cc14de44b77ced3dd4a0676c13b818b (patch)
tree608abf6f547952c8b63a7ecc7f08610b118ad40a /activesupport/test
parent8c679fe0ca77e8cc6de6ae408a556995f3801ee8 (diff)
downloadrails-4ac114471cc14de44b77ced3dd4a0676c13b818b.tar.gz
rails-4ac114471cc14de44b77ced3dd4a0676c13b818b.tar.bz2
rails-4ac114471cc14de44b77ced3dd4a0676c13b818b.zip
Assert the file is deprecated
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/big_decimal/yaml_conversions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/big_decimal/yaml_conversions_test.rb b/activesupport/test/core_ext/big_decimal/yaml_conversions_test.rb
index 49020e0567..e634679d20 100644
--- a/activesupport/test/core_ext/big_decimal/yaml_conversions_test.rb
+++ b/activesupport/test/core_ext/big_decimal/yaml_conversions_test.rb
@@ -1,8 +1,8 @@
require 'abstract_unit'
-require 'active_support/core_ext/big_decimal/yaml_conversions'
class BigDecimalYamlConversionsTest < ActiveSupport::TestCase
def test_to_yaml
+ assert_deprecated { require 'active_support/core_ext/big_decimal/yaml_conversions' }
assert_match("--- 100000.30020320320000000000000000000000000000001\n", BigDecimal.new('100000.30020320320000000000000000000000000000001').to_yaml)
assert_match("--- .Inf\n", BigDecimal.new('Infinity').to_yaml)
assert_match("--- .NaN\n", BigDecimal.new('NaN').to_yaml)