From 253b4728382884d01243b637230b2023190d1511 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 22 Jul 2011 09:12:22 -0700 Subject: [PATCH] forgot to add this test case --- .../cases/adapters/postgresql/connection_test.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 activerecord/test/cases/adapters/postgresql/connection_test.rb diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb new file mode 100644 index 0000000000..21b97b3b39 --- /dev/null +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -0,0 +1,14 @@ +require "cases/helper" + +module ActiveRecord + class PostgresqlConnectionTest < ActiveRecord::TestCase + def setup + super + @connection = ActiveRecord::Base.connection + end + + def test_encoding + assert_not_nil @connection.encoding + end + end +end