diff options
author | Matthew Draper <matthew@trebex.net> | 2016-10-06 02:41:17 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 02:41:17 +1030 |
commit | bf5876af099fbbcabab9d4f5296cc6ac76e10d31 (patch) | |
tree | 5000f81f5378a9cd1fac4f0022b1b5799b9620a3 /activerecord/test/cases/migration | |
parent | 32e3ad7e378105553d267f5a89067a35dad311fd (diff) | |
parent | 2bda4f27f4f5f542bbe82d9a143773bc8e8fa201 (diff) | |
download | rails-bf5876af099fbbcabab9d4f5296cc6ac76e10d31.tar.gz rails-bf5876af099fbbcabab9d4f5296cc6ac76e10d31.tar.bz2 rails-bf5876af099fbbcabab9d4f5296cc6ac76e10d31.zip |
Merge pull request #26631 from kamipo/remove_duplicate_condition
Remove duplicated `unless current_adapter?(:SQLite3Adapter)` condition
Diffstat (limited to 'activerecord/test/cases/migration')
-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 bea6b9f3a8..48df931543 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 |