aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-08-31 14:07:47 -0400
committerSean Griffin <sean@seantheprogrammer.com>2016-08-31 14:09:12 -0400
commitb347156b15aea7f6229203e0cc1a58937ecb8e93 (patch)
treeaef65dd98d78468ce3f3f93dac1fd15b2f3b326c /activerecord/test
parent6236cb7e6ad8bc18af2c3dc0118708d3e456bdce (diff)
downloadrails-b347156b15aea7f6229203e0cc1a58937ecb8e93.tar.gz
rails-b347156b15aea7f6229203e0cc1a58937ecb8e93.tar.bz2
rails-b347156b15aea7f6229203e0cc1a58937ecb8e93.zip
Remove deprecated handling of PG Points
There are some minor changes to the point type as I had forgotten that this will affect the behavior of `t.point` in migrations and the schema dumper so we need to handle those as well. I'll say this again so I can convince myself to come up with a better structure... TYPES SHOULD NOT CARE ABOUT SCHEMA DUMPING AND WE NEED TO BETTER SEPARATE THESE.
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/adapters/postgresql/geometric_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/geometric_test.rb b/activerecord/test/cases/adapters/postgresql/geometric_test.rb
index 27a7467326..a65d4d1ad9 100644
--- a/activerecord/test/cases/adapters/postgresql/geometric_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/geometric_test.rb
@@ -27,22 +27,10 @@ class PostgresqlPointTest < ActiveRecord::PostgreSQLTestCase
t.point :legacy_y, default: [12.2, 13.3]
t.point :legacy_z, default: "(14.4,15.5)"
end
- @connection.create_table("deprecated_points") do |t|
- t.point :x
- end
end
teardown do
@connection.drop_table "postgresql_points", if_exists: true
- @connection.drop_table "deprecated_points", if_exists: true
- end
-
- class DeprecatedPoint < ActiveRecord::Base; end
-
- def test_deprecated_legacy_type
- assert_deprecated do
- DeprecatedPoint.new
- end
end
def test_column