Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/branches/2-1-caching/activerecord/test/connection_test_firebird.rb

Revision 6838, 281 bytes (checked in by bitsweat, 2 years ago)

Test reconnection after MySQL client timeout. References #428.

Line 
1 require "#{File.dirname(__FILE__)}/abstract_unit"
2
3 class FirebirdConnectionTest < Test::Unit::TestCase
4   def test_charset_properly_set
5     fb_conn = ActiveRecord::Base.connection.instance_variable_get(:@connection)
6     assert_equal 'UTF8', fb_conn.database.character_set
7   end
8 end
Note: See TracBrowser for help on using the browser.