Permalink
Browse files

add test to the include path

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

Please sign in to comment.