Skip to content

Commit a5ae532

Browse files
committed
extensions should be an empty array if extensions are not supported
1 parent bb93ed5 commit a5ae532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db/postgres/simple_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_extensions
143143
assert connection.extension_enabled?('plpgsql')
144144
assert ! connection.extension_enabled?('invalid')
145145
else
146-
assert ! connection.extensions
146+
assert_empty connection.extensions
147147
end
148148
end
149149

0 commit comments

Comments
 (0)