aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-10 16:50:15 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-10 16:50:15 -0800
commitbbb3e5a858b2d078b2af7516a583fa12f3edb565 (patch)
tree980814745eb39f4a771a50ee8b3c3947f8485c17 /activerecord/Rakefile
parente02bff2634d94c07780884cae83b258d3f3a9a0e (diff)
downloadrails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.tar.gz
rails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.tar.bz2
rails-bbb3e5a858b2d078b2af7516a583fa12f3edb565.zip
Unify test:isolated across components and run by default at toplevel
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index f7585f789b..2511f13fed 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -49,11 +49,13 @@ task :test do
run_without_aborting(*tasks)
end
-task :isolated_test do
- tasks = defined?(JRUBY_VERSION) ?
- %w(isolated_test_jdbcmysql isolated_test_jdbcsqlite3 isolated_test_jdbcpostgresql) :
- %w(isolated_test_mysql isolated_test_sqlite3 isolated_test_postgresql)
- run_without_aborting(*tasks)
+namespace :test do
+ task :isolated do
+ tasks = defined?(JRUBY_VERSION) ?
+ %w(isolated_test_jdbcmysql isolated_test_jdbcsqlite3 isolated_test_jdbcpostgresql) :
+ %w(isolated_test_mysql isolated_test_sqlite3 isolated_test_postgresql)
+ run_without_aborting(*tasks)
+ end
end
%w( mysql postgresql sqlite3 firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|