aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/abstract_unit.rb
diff options
context:
space:
mode:
authorMarcelo Silveira <marcelo@mhfs.com.br>2012-05-03 09:10:33 -0300
committerMarcelo Silveira <marcelo@mhfs.com.br>2012-05-03 09:10:33 -0300
commit3d02195174a41b96f3f55219256677b8da06d0cb (patch)
tree70d8943c24ae55d504fa5856057222addbb85831 /actionmailer/test/abstract_unit.rb
parent5c0cbb3d2f0aa3bf73bb628ea720fa08beb701b6 (diff)
downloadrails-3d02195174a41b96f3f55219256677b8da06d0cb.tar.gz
rails-3d02195174a41b96f3f55219256677b8da06d0cb.tar.bz2
rails-3d02195174a41b96f3f55219256677b8da06d0cb.zip
No need to work around 1.8 warnings anymore.
Diffstat (limited to 'actionmailer/test/abstract_unit.rb')
-rw-r--r--actionmailer/test/abstract_unit.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb
index 3a519253f9..487102b564 100644
--- a/actionmailer/test/abstract_unit.rb
+++ b/actionmailer/test/abstract_unit.rb
@@ -1,16 +1,4 @@
-# Pathname has a warning, so require it first while silencing
-# warnings to shut it up.
-#
-# Also, in 1.9, Bundler creates warnings due to overriding
-# Rubygems methods
-begin
- old, $VERBOSE = $VERBOSE, nil
- require 'pathname'
- require File.expand_path('../../../load_paths', __FILE__)
-ensure
- $VERBOSE = old
-end
-
+require File.expand_path('../../../load_paths', __FILE__)
require 'active_support/core_ext/kernel/reporting'
# These are the normal settings that will be set up by Railties