mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9 lines
247 B
Ruby
9 lines
247 B
Ruby
|
require 'abstract_unit'
|
||
|
|
||
|
class ConnectionTest < Test::Unit::TestCase
|
||
|
def test_charset_properly_set
|
||
|
fb_conn = ActiveRecord::Base.connection.instance_variable_get(:@connection)
|
||
|
assert_equal 'UTF8', fb_conn.database.character_set
|
||
|
end
|
||
|
end
|