spec/spec_helper.rb in wisper-2.0.0.rc1 vs spec/spec_helper.rb in wisper-2.0.0
- old
+ new
@@ -20,13 +20,5 @@
# returns an anonymous wispered class
def publisher_class
Class.new { include Wisper::Publisher }
end
-
-# prevents deprecation warning showing up in spec output
-def silence_warnings
- original_verbosity = $VERBOSE
- $VERBOSE = nil
- yield
- $VERBOSE = original_verbosity
-end