diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-05 19:24:43 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-05 19:24:43 -0500 |
commit | 59d1b23ea145cf367d747503772e9cb103c4844f (patch) | |
tree | f253323d369fc22cb6b20e3135153ef4882a0f88 /activeresource/Rakefile | |
parent | 6dc9ad80e6ee4a581c5ace005632373fe7275c03 (diff) | |
download | rails-59d1b23ea145cf367d747503772e9cb103c4844f.tar.gz rails-59d1b23ea145cf367d747503772e9cb103c4844f.tar.bz2 rails-59d1b23ea145cf367d747503772e9cb103c4844f.zip |
Fix failing ARes isolated tests
Diffstat (limited to 'activeresource/Rakefile')
-rw-r--r-- | activeresource/Rakefile | 3 |
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 |