Skip to content

Commit 202d135

Browse files
committed
Make test_multi_polygon_column work independently of which factory the store uses
1 parent ced04a4 commit 202d135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/adapters/postgresql/postgis_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_multi_polygon_column
169169
rec.m_poly = wkt
170170
assert rec.save
171171
rec = klass.find(rec.id) # force reload
172-
assert rec.m_poly.is_a?(RGeo::Geos::CAPIMultiPolygonImpl)
172+
assert RGeo::Feature::MultiPolygon.check_type(rec.m_poly)
173173
assert_equal wkt, rec.m_poly.to_s
174174
end
175175

0 commit comments

Comments
 (0)