From 36150c902b3253101aaa2e14ed31d8d8b9a2e0d2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 14 Jul 2010 15:04:14 -0700 Subject: Let's initialize instance variables in the postgres adapter. --- .../adapters/postgresql/postgresql_adapter_test.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb (limited to 'activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb') diff --git a/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb b/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb new file mode 100644 index 0000000000..7b72151b57 --- /dev/null +++ b/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb @@ -0,0 +1,17 @@ +require "cases/helper" + +module ActiveRecord + module ConnectionAdapters + class PostgreSQLAdapterTest < ActiveRecord::TestCase + def setup + @connection = ActiveRecord::Base.connection + end + + def test_table_alias_length + assert_nothing_raised do + @connection.table_alias_length + end + end + end + end +end -- cgit v1.2.3