diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-11-21 17:43:42 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-11-21 18:18:00 +0000 |
commit | 2cc5ccedb1cabd818ece3d6736b412de086a16c1 (patch) | |
tree | 8f0c548b788da24087aaf2dda3d46abfa03d9332 /activesupport/test/option_merger_test.rb | |
parent | 3e304e8177bc1fd81d9d8db15eaf252cf386e22f (diff) | |
download | rails-2cc5ccedb1cabd818ece3d6736b412de086a16c1.tar.gz rails-2cc5ccedb1cabd818ece3d6736b412de086a16c1.tar.bz2 rails-2cc5ccedb1cabd818ece3d6736b412de086a16c1.zip |
No difference between JRuby and CRuby at test_read_attributes_before_type_cast_on_a_boolean
https://github.com/jruby/activerecord-jdbc-adapter ActiveRecord JDBC Adapter is actively developed
and it supports Rails 5.1 now. This pull request addresses one of the failure when running
ActiveRecord unit tests with ActiveRecord JDBC Adapter.
As of right now, ActiveRecord JDBC Adapter supports Rails 5.1, not master branch
then this test only can run on `5-1-stable` branch. But I have opened this pull request to `master` branch
since this type cast should be going to work in the future versions of ActiveRecord JDBC Adapter .
```ruby
$ ARCONN=jdbcmysql bin/test test/cases/attribute_methods_test.rb:203
Using jdbcmysql
Run options: --seed 8874
F
Finished in 0.709120s, 1.4102 runs/s, 1.4102 assertions/s.
1) Failure:
AttributeMethodsTest#test_read_attributes_before_type_cast_on_a_boolean [/home/yahonda/git/rails/activerecord/test/cases/attribute_methods_test.rb:203]:
Expected: "0"
Actual: 0
1 runs, 1 assertions, 1 failures, 0 errors, 0 skips
$
```
Diffstat (limited to 'activesupport/test/option_merger_test.rb')
0 files changed, 0 insertions, 0 deletions