diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-11 20:59:20 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-11 20:59:20 +0900 |
commit | 67e605f5406b31d0928749d1bb44a416b5a16623 (patch) | |
tree | f9afec2ba7115adcdbe1695966c1d81bb31b9ad5 /activerecord/test/cases/migration | |
parent | ac122514261dff69e1de6f04277681215c3330be (diff) | |
download | rails-67e605f5406b31d0928749d1bb44a416b5a16623.tar.gz rails-67e605f5406b31d0928749d1bb44a416b5a16623.tar.bz2 rails-67e605f5406b31d0928749d1bb44a416b5a16623.zip |
Remove duplicated `elsif` branch
The `elsif` branch is completely duplicated with `else` branch.
Diffstat (limited to 'activerecord/test/cases/migration')
-rw-r--r-- | activerecord/test/cases/migration/column_attributes_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/migration/column_attributes_test.rb b/activerecord/test/cases/migration/column_attributes_test.rb index ab8229dbae..03d781d3d2 100644 --- a/activerecord/test/cases/migration/column_attributes_test.rb +++ b/activerecord/test/cases/migration/column_attributes_test.rb @@ -63,8 +63,6 @@ module ActiveRecord # Do a manual insertion if current_adapter?(:OracleAdapter) connection.execute "insert into test_models (id, wealth) values (people_seq.nextval, 12345678901234567890.0123456789)" - elsif current_adapter?(:PostgreSQLAdapter) - connection.execute "insert into test_models (wealth) values (12345678901234567890.0123456789)" else connection.execute "insert into test_models (wealth) values (12345678901234567890.0123456789)" end |