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:
parent
87c93da440
commit
ca2f2d1800
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue