diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-05-03 17:23:37 -0500 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-05-03 17:23:37 -0500 |
commit | 08e86b4b055c3b527ebc3f3fdaaa2198ce919cd4 (patch) | |
tree | 110aa3413d13c66789bf7b24b0b586a568d9fcba /activerecord/test/cases/adapters/postgresql | |
parent | ab44e366246960e52fb03836d62ea0015f5cf0e0 (diff) | |
parent | a51bdd3ddc6c05b816735ad8304f88d9667709ed (diff) | |
download | rails-08e86b4b055c3b527ebc3f3fdaaa2198ce919cd4.tar.gz rails-08e86b4b055c3b527ebc3f3fdaaa2198ce919cd4.tar.bz2 rails-08e86b4b055c3b527ebc3f3fdaaa2198ce919cd4.zip |
Merge pull request #24839 from vipulnsward/fix-bundler-ci
Depend on bundler 1.11.2 on travis until bundle update discrepancy is solved on 1.12.x
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/type_lookup_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/type_lookup_test.rb b/activerecord/test/cases/adapters/postgresql/type_lookup_test.rb index 77a99ca778..ea0f0b8fa5 100644 --- a/activerecord/test/cases/adapters/postgresql/type_lookup_test.rb +++ b/activerecord/test/cases/adapters/postgresql/type_lookup_test.rb @@ -18,7 +18,7 @@ class PostgresqlTypeLookupTest < ActiveRecord::PostgreSQLTestCase bigint_array = @connection.type_map.lookup(1016, -1, "bigint[]") big_array = [123456789123456789] - assert_raises(RangeError) { int_array.serialize(big_array) } + assert_raises(ActiveModel::RangeError) { int_array.serialize(big_array) } assert_equal "{123456789123456789}", bigint_array.serialize(big_array) end @@ -27,7 +27,7 @@ class PostgresqlTypeLookupTest < ActiveRecord::PostgreSQLTestCase bigint_range = @connection.type_map.lookup(3926, -1, "int8range") big_range = 0..123456789123456789 - assert_raises(RangeError) { int_range.serialize(big_range) } + assert_raises(ActiveModel::RangeError) { int_range.serialize(big_range) } assert_equal "[0,123456789123456789]", bigint_range.serialize(big_range) end end |