aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
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 /activestorage
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 'activestorage')
-rw-r--r--activestorage/Rakefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/activestorage/Rakefile b/activestorage/Rakefile
index 7dc69e04ea..2e86d3d860 100644
--- a/activestorage/Rakefile
+++ b/activestorage/Rakefile
@@ -4,12 +4,12 @@ require "bundler/setup"
require "bundler/gem_tasks"
require "rake/testtask"
-Rake::TestTask.new do |test|
- test.libs << "app/controllers"
- test.libs << "test"
- test.test_files = FileList["test/**/*_test.rb"]
- test.verbose = true
- test.warning = false
+Rake::TestTask.new do |t|
+ t.libs << "app/controllers"
+ t.libs << "test"
+ t.test_files = FileList["test/**/*_test.rb"]
+ t.verbose = true
+ t.warning = true
end
task :package