diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2019-03-03 13:26:14 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2019-03-03 13:48:23 +0000 |
commit | d7b6139840e56172445c75e67c45f9f64150b5bb (patch) | |
tree | 2f55df27fdce3c85ad477b49f2ee3ae0652ade62 /activerecord/test/cases/relation/where_test.rb | |
parent | e33c1f3c26ff3d2921d953d5c747cb5b90c6c1c6 (diff) | |
download | rails-d7b6139840e56172445c75e67c45f9f64150b5bb.tar.gz rails-d7b6139840e56172445c75e67c45f9f64150b5bb.tar.bz2 rails-d7b6139840e56172445c75e67c45f9f64150b5bb.zip |
Remove unnecessary `current_adapter?(:OracleAdapter)` for index length
Follow up #35455, there are two more test cases unnecessary `if current_adapter?(:OracleAdapter)`
```ruby
$ ARCONN=oracle bin/test test/cases/associations/eager_test.rb -n test_include_has_many_using_primary_key
Using oracle
Run options: -n test_include_has_many_using_primary_key --seed 62842
.
Finished in 50.280024s, 0.0199 runs/s, 0.0398 assertions/s.
1 runs, 2 assertions, 0 failures, 0 errors, 0 skips
$
```
```
$ ARCONN=oracle bin/test test/cases/migration/index_test.rb -n test_add_index
Using oracle
Run options: -n test_add_index --seed 52034
.
Finished in 13.152620s, 0.0760 runs/s, 0.0000 assertions/s.
1 runs, 0 assertions, 0 failures, 0 errors, 0 skips
$
```
Diffstat (limited to 'activerecord/test/cases/relation/where_test.rb')
0 files changed, 0 insertions, 0 deletions