1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Turn warnings on for AS isolated tests

This commit is contained in:
Joshua Peek 2009-09-05 18:24:58 -05:00
parent 87c93da440
commit ca2f2d1800

View file

@ -24,7 +24,7 @@ Rake::TestTask.new { |t|
task :isolated_test do task :isolated_test do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir['test/**/*_test.rb'].all? do |file| Dir['test/**/*_test.rb'].all? do |file|
system(ruby, '-Ilib:test', file) system(ruby, '-w', '-Ilib:test', file)
end or raise "Failures" end or raise "Failures"
end end