aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-07-22 09:12:22 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-07-22 09:12:32 -0700
commit253b4728382884d01243b637230b2023190d1511 (patch)
tree5adbdab997897c25c5a172b440ad0c315ee8a1b9
parent5b6121aa3428f4fc0f12fd797abde143b97650fb (diff)
downloadrails-253b4728382884d01243b637230b2023190d1511.tar.gz
rails-253b4728382884d01243b637230b2023190d1511.tar.bz2
rails-253b4728382884d01243b637230b2023190d1511.zip
forgot to add this test case
-rw-r--r--activerecord/test/cases/adapters/postgresql/connection_test.rb14
1 files changed, 14 insertions, 0 deletions
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