Skip to content

Commit 3f1aa84

Browse files
committed
avoid using PG_VERSION in a test-case (since global const was moved)
1 parent fb00295 commit 3f1aa84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db/postgresql/simple_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_find_by_sql_WITH_statement
5959
end
6060

6161
def test_create_xml_column
62-
return unless PG_VERSION >= 80300
62+
return if connection.postgresql_version < 80300
6363
super
6464
end if ar_version('3.1')
6565
def xml_sql_type; 'xml'; end

0 commit comments

Comments
 (0)