aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-05 19:10:21 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-05 19:10:21 -0500
commit6dc9ad80e6ee4a581c5ace005632373fe7275c03 (patch)
tree03062826db52ad3f435c634f327028a89704cb26 /activemodel/Rakefile
parentc6e0923245a2e50cd7e1db11741a66569bfd6812 (diff)
downloadrails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.tar.gz
rails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.tar.bz2
rails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.zip
Fix warnings in AMo
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-xactivemodel/Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index dcd1eaa444..4a64c90dd9 100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -15,12 +15,13 @@ Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = Dir.glob("test/cases/**/*_test.rb").sort
t.verbose = true
+ t.warning = true
end
task :isolated_test do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file|
- system(ruby, '-Ilib:test', file)
+ system(ruby, '-w', '-Ilib:test', file)
end or raise "Failures"
end