aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-10-19 23:05:03 +0530
committerVipul A M <vipulnsward@gmail.com>2014-10-19 23:05:03 +0530
commit16c04040f47a1f33259858ae7a867014ed295186 (patch)
tree81a0c931ea8a5197ce356b341a9d5f9b3cf61e1e
parent091da45fd714848c76c710d04e17d33a24ccf3fd (diff)
downloadrails-16c04040f47a1f33259858ae7a867014ed295186.tar.gz
rails-16c04040f47a1f33259858ae7a867014ed295186.tar.bz2
rails-16c04040f47a1f33259858ae7a867014ed295186.zip
Enable emitting of warnings from ActiveJob tests.
-rw-r--r--activejob/Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/activejob/Rakefile b/activejob/Rakefile
index a66df8939e..7e66860b36 100644
--- a/activejob/Rakefile
+++ b/activejob/Rakefile
@@ -35,6 +35,7 @@ namespace :test do
t.libs << 'test'
t.test_files = FileList['test/cases/**/*_test.rb']
t.verbose = true
+ t.warning = true
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
end
@@ -53,6 +54,7 @@ namespace :test do
t.libs << 'test'
t.test_files = FileList['test/integration/**/*_test.rb']
t.verbose = true
+ t.warning = true
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)
end
end