diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-07-22 09:12:22 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-07-22 09:12:32 -0700 |
commit | 253b4728382884d01243b637230b2023190d1511 (patch) | |
tree | 5adbdab997897c25c5a172b440ad0c315ee8a1b9 /activerecord/test/cases/adapters | |
parent | 5b6121aa3428f4fc0f12fd797abde143b97650fb (diff) | |
download | rails-253b4728382884d01243b637230b2023190d1511.tar.gz rails-253b4728382884d01243b637230b2023190d1511.tar.bz2 rails-253b4728382884d01243b637230b2023190d1511.zip |
forgot to add this test case
Diffstat (limited to 'activerecord/test/cases/adapters')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/connection_test.rb | 14 |
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 |