diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-07 10:17:36 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-07 10:17:36 +0900 |
commit | 4f8d7024130411783d327cf978552135a2b62c30 (patch) | |
tree | aca35e6c38fbf920446ba68aabfed962fe4787f9 /activerecord/test/cases | |
parent | 1e51a38fbc767f2c7e33c0ac548422eebbb5981d (diff) | |
download | rails-4f8d7024130411783d327cf978552135a2b62c30.tar.gz rails-4f8d7024130411783d327cf978552135a2b62c30.tar.bz2 rails-4f8d7024130411783d327cf978552135a2b62c30.zip |
Revert commit 4ec5b0d6b4d8a57e034b1014942356e95caf47aa in favor of #28379
Commit 4ec5b0d was for fixing the regression #18787, but #28379 fixes
#18787 as well. So 4ec5b0d is no longer necessary.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/connection_adapters/type_lookup_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/connection_adapters/type_lookup_test.rb b/activerecord/test/cases/connection_adapters/type_lookup_test.rb index 917a04ebc3..1c79d776f0 100644 --- a/activerecord/test/cases/connection_adapters/type_lookup_test.rb +++ b/activerecord/test/cases/connection_adapters/type_lookup_test.rb @@ -82,11 +82,11 @@ unless current_adapter?(:PostgreSQLAdapter) # PostgreSQL does not use type strin end def test_bigint_limit - cast_type = @connection.send(:type_map).lookup("bigint") + limit = @connection.send(:type_map).lookup("bigint").send(:_limit) if current_adapter?(:OracleAdapter) - assert_equal 19, cast_type.limit + assert_equal 19, limit else - assert_equal 8, cast_type.limit + assert_equal 8, limit end end |