diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-06 11:43:50 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-06 15:47:17 -0700 |
commit | c8d124c0fc707b27fe21728d36e8772566c9f9f1 (patch) | |
tree | 4ad270b8cc3ed693ed1112aceb434aaeb7af9cc2 /activerecord | |
parent | 61774e0d494fa9076e08d55dde5efd1599ef7040 (diff) | |
download | rails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.tar.gz rails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.tar.bz2 rails-c8d124c0fc707b27fe21728d36e8772566c9f9f1.zip |
add test to the include path
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/Rakefile | 1 |
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 |