diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2018-01-07 23:43:51 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2018-01-07 23:47:59 +0000 |
commit | cbbe9ed392bfe146fc0871653aad9b619cef8509 (patch) | |
tree | d383a17807f5d274098f409dafde4d4ce670a0a5 /test/visitors/test_to_sql.rb | |
parent | f4477d631f19e7a9e09f77062a0992121d0bca16 (diff) | |
download | rails-cbbe9ed392bfe146fc0871653aad9b619cef8509.tar.gz rails-cbbe9ed392bfe146fc0871653aad9b619cef8509.tar.bz2 rails-cbbe9ed392bfe146fc0871653aad9b619cef8509.zip |
BigDecimal.new is deprecated in Ruby 2.5
Refer https://github.com/ruby/bigdecimal/pull/86
Diffstat (limited to 'test/visitors/test_to_sql.rb')
-rw-r--r-- | test/visitors/test_to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index 77756b9e99..4416a11b8d 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -233,7 +233,7 @@ module Arel end it "should visit_BigDecimal" do - compile Nodes.build_quoted(BigDecimal.new('2.14')) + compile Nodes.build_quoted(BigDecimal('2.14')) end it "should visit_Date" do |