aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/helper.rb
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-09-11 00:15:29 +0900
committerkennyj <kennyj@gmail.com>2012-09-11 00:17:08 +0900
commita3024f81228d7b3b446408114a5dc2a86870cd35 (patch)
tree015880abbdc678bb628cfbe9b02cdd67cf84ac63 /activerecord/test/cases/helper.rb
parentbe8685d9227faf5d3691346e2cc0c4f14d833c53 (diff)
downloadrails-a3024f81228d7b3b446408114a5dc2a86870cd35.tar.gz
rails-a3024f81228d7b3b446408114a5dc2a86870cd35.tar.bz2
rails-a3024f81228d7b3b446408114a5dc2a86870cd35.zip
Fix annoy warning, when executing testcase.
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r--activerecord/test/cases/helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index 4c6d4666ed..f39111ba77 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -22,6 +22,8 @@ ActiveSupport::Deprecation.debug = true
# Connect to the database
ARTest.connect
+require 'support/mysql'
+
# Quote "type" if it's a reserved word for the current connection.
QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type')