diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-02-08 07:11:37 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-02-09 16:58:55 -0800 |
commit | b00fe01d6e231c866509f9f99bbe1534527c7c58 (patch) | |
tree | f853ade4f2b45bd5743aee23571e72ce66eee999 /activerecord/test/cases/relation | |
parent | 921a296a3390192a71abeec6d9a035cc6d1865c8 (diff) | |
download | rails-b00fe01d6e231c866509f9f99bbe1534527c7c58.tar.gz rails-b00fe01d6e231c866509f9f99bbe1534527c7c58.tar.bz2 rails-b00fe01d6e231c866509f9f99bbe1534527c7c58.zip |
Merge pull request #9224 from dylanahsmith/bigdecimal-takes-string
[3.2] Fix test failure for ruby 1.8.
Diffstat (limited to 'activerecord/test/cases/relation')
-rw-r--r-- | activerecord/test/cases/relation/where_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/where_test.rb b/activerecord/test/cases/relation/where_test.rb index 0529945532..ba9df1651b 100644 --- a/activerecord/test/cases/relation/where_test.rb +++ b/activerecord/test/cases/relation/where_test.rb @@ -52,7 +52,7 @@ module ActiveRecord end def test_where_with_decimal_for_string_column - count = Post.where(:title => BigDecimal.new(0)).count + count = Post.where(:title => BigDecimal.new('0')).count assert_equal 0, count end |