Source

RubyLearning / ProjectTrak / vendor / rails / activerecord / test / cases / connection_test_firebird.rb

Full commit
1
2
3
4
5
6
7
8
require "cases/helper"

class FirebirdConnectionTest < ActiveRecord::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