Sha256: d59540258bdc2ed1dcd1e2b5ad8765ec441565d27cc5bf5c2b3e7c134662c3b5
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
require 'active_utils' require 'minitest/autorun' require 'mocha/setup' include ActiveUtils def suppress_warnings original_verbosity, $VERBOSE = $VERBOSE, nil yield ensure $VERBOSE = original_verbosity end class Minitest::Test def assert_deprecation_warning(message=nil) ActiveUtils::Utils.expects(:deprecated).with(message ? message : anything) yield end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_utils-3.0.0.pre2 | test/test_helper.rb |
active_utils-3.0.0.pre1 | test/test_helper.rb |