aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-06-06 11:43:50 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-06-06 15:47:17 -0700
commitc8d124c0fc707b27fe21728d36e8772566c9f9f1 (patch)
tree4ad270b8cc3ed693ed1112aceb434aaeb7af9cc2
parent61774e0d494fa9076e08d55dde5efd1599ef7040 (diff)
downloadrails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.tar.gz
rails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.tar.bz2
rails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.zip
add test to the include path
-rwxr-xr-xactiverecord/Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index 27e8eda876..9776dfea3e 100755
--- a/activerecord/Rakefile
+++ b/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