blob: 23817198b1b084061baaff5324049ff245add29c (
plain) (
tree)
|
|
require 'cases/helper'
class PostgresqlTypeLookupTest < ActiveRecord::TestCase
setup do
@connection = ActiveRecord::Base.connection
end
test "array delimiters are looked up correctly" do
box_array = @connection.type_map.lookup(1020)
int_array = @connection.type_map.lookup(1007)
assert_equal ';', box_array.delimiter
assert_equal ',', int_array.delimiter
end
end
|