aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
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 /activeresource
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 'activeresource')
-rw-r--r--activeresource/Rakefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile
index 834d4c0c59..6566e84d4c 100644
--- a/activeresource/Rakefile
+++ b/activeresource/Rakefile
@@ -35,15 +35,16 @@ Rake::TestTask.new { |t|
t.warning = true
}
-task :isolated_test do
- ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
- activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
- Dir.glob("test/**/*_test.rb").all? do |file|
- system(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
- end or raise "Failures"
+namespace :test do
+ task :isolated do
+ ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
+ activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
+ Dir.glob("test/**/*_test.rb").all? do |file|
+ system(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
+ end or raise "Failures"
+ end
end
-
# Generate the RDoc documentation
Rake::RDocTask.new { |rdoc|