class PostgresqlInternalDataTypeTest
Public Instance Methods
test_char_column_type()
click to toggle source
# File activerecord/test/cases/adapters/postgresql/datatype_test.rb, line 87 def test_char_column_type with_example_table @connection, "ex", 'data "char"' do column = @connection.columns("ex").find { |col| col.name == "data" } assert_equal :string, column.type end end
test_name_column_type()
click to toggle source
# File activerecord/test/cases/adapters/postgresql/datatype_test.rb, line 80 def test_name_column_type with_example_table @connection, "ex", "data name" do column = @connection.columns("ex").find { |col| col.name == "data" } assert_equal :string, column.type end end