diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-15 10:57:53 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 10:57:53 +0900 |
commit | 67b9dbcc1cfce6694ab18c9629b233979506fbf0 (patch) | |
tree | e3123654767a935bb5e9feb32f5f27720525570c /activejob | |
parent | 36291970341057bbf5f818d5ee0c5e77ab14a308 (diff) | |
parent | e4a6a23aa77185127ce9609777820fab14a689bb (diff) | |
download | rails-67b9dbcc1cfce6694ab18c9629b233979506fbf0.tar.gz rails-67b9dbcc1cfce6694ab18c9629b233979506fbf0.tar.bz2 rails-67b9dbcc1cfce6694ab18c9629b233979506fbf0.zip |
Merge pull request #31460 from yahonda/deprecated_bigdecimal_new_ap_av_aj_as_guides
Suppress `warning: BigDecimal.new is deprecated`
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/test/cases/argument_serialization_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/cases/argument_serialization_test.rb b/activejob/test/cases/argument_serialization_test.rb index 13e6fcb727..7e7f854da0 100644 --- a/activejob/test/cases/argument_serialization_test.rb +++ b/activejob/test/cases/argument_serialization_test.rb @@ -12,7 +12,7 @@ class ArgumentSerializationTest < ActiveSupport::TestCase end [ nil, 1, 1.0, 1_000_000_000_000_000_000_000, - "a", true, false, BigDecimal.new(5), + "a", true, false, BigDecimal(5), [ 1, "a" ], { "a" => 1 } ].each do |arg| |