1 # The filename begins with "aaa" to ensure this is the first test.
4 class AAACreateTablesTest
< ActiveRecord
::TestCase
5 self.use_transactional_fixtures
= false
8 eval(File
.read(SCHEMA_ROOT
+ "/schema.rb"))
9 if File
.exists
?(adapter_specific_schema_file
)
10 eval(File
.read(adapter_specific_schema_file
))
15 def test_drop_and_create_courses_table
16 eval(File
.read(SCHEMA_ROOT
+ "/schema2.rb"))
21 def adapter_specific_schema_file
22 SCHEMA_ROOT
+ '/' + ActiveRecord
::Base.connection
.adapter_name
.downcase
+ '_specific_schema.rb'