aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-05 19:24:43 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-05 19:24:43 -0500
commit59d1b23ea145cf367d747503772e9cb103c4844f (patch)
treef253323d369fc22cb6b20e3135153ef4882a0f88 /activeresource/Rakefile
parent6dc9ad80e6ee4a581c5ace005632373fe7275c03 (diff)
downloadrails-59d1b23ea145cf367d747503772e9cb103c4844f.tar.gz
rails-59d1b23ea145cf367d747503772e9cb103c4844f.tar.bz2
rails-59d1b23ea145cf367d747503772e9cb103c4844f.zip
Fix failing ARes isolated tests
Diffstat (limited to 'activeresource/Rakefile')
-rw-r--r--activeresource/Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile
index c392e91414..54c3fe44c6 100644
--- a/activeresource/Rakefile
+++ b/activeresource/Rakefile
@@ -34,11 +34,12 @@ Rake::TestTask.new { |t|
t.verbose = true
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, "-Ilib:test:#{activesupport_path}", file)
+ system(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
end or raise "Failures"
end