Permalink
Browse files

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
  • Loading branch information...
jeremy committed Nov 16, 2005
1 parent ba942df commit 8da9d02e6e1b4336892d3066de9412ec1aa02a68
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/active_record_assertions_test.rb
@@ -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?

0 comments on commit 8da9d02

Please sign in to comment.