]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-2.2.2/tasks/databases.rake
Add version 2.2.2 of composite_primary_keys.
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / tasks / databases.rake
1 require 'active_record'
2
3 # UNTESTED - firebird sqlserver sqlserver_odbc db2 sybase openbase
4 for adapter in %w( mysql sqlite oracle oracle_enhanced postgresql ibm_db ) 
5   Rake::TestTask.new("test_#{adapter}") { |t|
6     t.libs << "test" << "test/connections/native_#{adapter}"
7     t.pattern = "test/test_*.rb"
8     t.verbose = true
9   }
10 end
11
12 SCHEMA_PATH = File.join(PROJECT_ROOT, *%w(test fixtures db_definitions))