提交 8da9d02e 编写于 作者: J Jeremy Kemper

Include QUOTED_TYPE constant in ActionPack AR assertions tests.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 ba942dfc
......@@ -23,6 +23,7 @@
# Set up company fixtures.
$LOAD_PATH << "#{path_to_ar}/test"
QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type') unless Object.const_defined?(:QUOTED_TYPE)
require 'fixtures/company'
File.read("#{path_to_ar}/test/fixtures/db_definitions/sqlite.sql").split(';').each do |sql|
ActiveRecord::Base.connection.execute(sql) unless sql.blank?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册