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

Changeset 3059

Show
Ignore:
Timestamp:
11/16/05 09:09:04 (3 years ago)
Author:
bitsweat
Message:

Include QUOTED_TYPE constant in ActionPack AR assertions tests.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/test/controller/active_record_assertions_test.rb

    r2635 r3059  
    2424# Set up company fixtures. 
    2525$LOAD_PATH << "#{path_to_ar}/test" 
     26QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type') unless Object.const_defined?(:QUOTED_TYPE) 
    2627require 'fixtures/company' 
    2728File.read("#{path_to_ar}/test/fixtures/db_definitions/sqlite.sql").split(';').each do |sql|