diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-06-01 10:25:23 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-06-01 18:50:43 +0100 |
commit | 7d447c4726e7b5fb1f8eddcd88bcd2dd70ffed79 (patch) | |
tree | 9c8f6dd45ef78b0f71d55b5f74147dacd6c0ca2d /activerecord | |
parent | 230f78875999ed566cbfc54c3b824420ea082f4b (diff) | |
download | rails-7d447c4726e7b5fb1f8eddcd88bcd2dd70ffed79.tar.gz rails-7d447c4726e7b5fb1f8eddcd88bcd2dd70ffed79.tar.bz2 rails-7d447c4726e7b5fb1f8eddcd88bcd2dd70ffed79.zip |
Adding comment
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index 660cc0057a..2712fa8e1d 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -135,6 +135,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase def test_read_attributes_before_type_cast_on_boolean bool = Boolean.create({ "value" => false }) if RUBY_PLATFORM =~ /java/ + #JRuby will returns the value before typecast as integer assert_equal 0, bool.reload.attributes_before_type_cast["value"] else assert_equal "0", bool.reload.attributes_before_type_cast["value"] |