mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add test to the include path
This commit is contained in:
parent
61774e0d49
commit
c8d124c0fc
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ end
|
|||
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|
|
||||
Rake::TestTask.new("test_#{adapter}") { |t|
|
||||
adapter_short = adapter == 'db2' ? adapter : adapter[/^[a-z0-9]+/]
|
||||
t.libs << 'test'
|
||||
t.test_files = (Dir.glob( "test/cases/**/*_test.rb" ).reject {
|
||||
|x| x =~ /\/adapters\//
|
||||
} + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb")).sort
|
||||
|
|
Loading…
Reference in a new issue