]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-1.1.0/tasks/databases.rake
The render method needs to be last, otherwise the error header won't get set. Needs...
[rails.git] / vendor / gems / composite_primary_keys-1.1.0 / 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))