Navigation Menu

Skip to content

Commit

Permalink
add test to the include path
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jun 6, 2011
1 parent e504101 commit b8714ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord/Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit b8714ed

Please sign in to comment.