diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-27 07:04:23 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-27 07:10:06 +0900 |
commit | 2bda4f27f4f5f542bbe82d9a143773bc8e8fa201 (patch) | |
tree | 99f3796712315729e90d6977777dda8a4e88eba2 /activerecord | |
parent | 56b3849316b9c4cf4423ef8de30cbdc1b7e0f7af (diff) | |
download | rails-2bda4f27f4f5f542bbe82d9a143773bc8e8fa201.tar.gz rails-2bda4f27f4f5f542bbe82d9a143773bc8e8fa201.tar.bz2 rails-2bda4f27f4f5f542bbe82d9a143773bc8e8fa201.zip |
Remove duplicated `unless current_adapter?(:SQLite3Adapter)` condition
`test_native_decimal_insert_manual_vs_automatic` exists inside
`unless current_adapter?(:SQLite3Adapter)`. This condition is
duplicated.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/migration/column_attributes_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/migration/column_attributes_test.rb b/activerecord/test/cases/migration/column_attributes_test.rb index 03d781d3d2..c845d634e5 100644 --- a/activerecord/test/cases/migration/column_attributes_test.rb +++ b/activerecord/test/cases/migration/column_attributes_test.rb @@ -72,9 +72,7 @@ module ActiveRecord assert_kind_of BigDecimal, row.wealth # If this assert fails, that means the SELECT is broken! - unless current_adapter?(:SQLite3Adapter) - assert_equal correct_value, row.wealth - end + assert_equal correct_value, row.wealth # Reset to old state TestModel.delete_all |