Permalink
Browse files

add test to the include path

  • Loading branch information...
1 parent 61774e0 commit c8d124c0fc707b27fe21728d36e8772566c9f9f1 @tenderlove tenderlove committed Jun 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/Rakefile
View
@@ -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

0 comments on commit c8d124c

Please sign in to comment.