aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-05-23 22:52:15 +0200
committerutilum <oz@utilum.com>2018-05-23 23:05:03 +0200
commita48f6a5d9f914c5a0ca8ea3fd06d5ffaff5ec2df (patch)
tree731137eefe87bdc16b07dd793f671fee00acf9f9 /railties
parent4d43b05881265ee02cb4b7ab37d7e1fa49559184 (diff)
downloadrails-a48f6a5d9f914c5a0ca8ea3fd06d5ffaff5ec2df.tar.gz
rails-a48f6a5d9f914c5a0ca8ea3fd06d5ffaff5ec2df.tar.bz2
rails-a48f6a5d9f914c5a0ca8ea3fd06d5ffaff5ec2df.zip
Enable warnings in all test tasks
Also normalize AJ task use t, like all other Rails test tasks.
Diffstat (limited to 'railties')
-rw-r--r--railties/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 74615d2358..8251b2bb32 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -73,7 +73,7 @@ end
Rake::TestTask.new("test:regular") do |t|
t.libs << "test" << "#{__dir__}/../activesupport/lib"
t.pattern = "test/**/*_test.rb"
- t.warning = false
+ t.warning = true
t.verbose = true
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
end