lib/tunemygc/spies/minitest.rb in tunemygc-1.0.69 vs lib/tunemygc/spies/minitest.rb in tunemygc-1.0.71
- old
+ new
@@ -4,15 +4,15 @@
module TuneMyGc
module Spies
class Minitest < TuneMyGc::Spies::Base
def install
- MiniTest::Unit::TestCase.__send__(:include, hooks_module)
+ MiniTest::Test.__send__(:include, hooks_module)
TuneMyGc.log "hooked: minitest"
end
def uninstall
- MiniTest::Unit::TestCase.__send__(:include, disabled_hooks_module)
+ MiniTest::Test.__send__(:include, disabled_hooks_module)
TuneMyGc.log "uninstalled minitest spy"
end
def hooks_module
Module.new do
\ No newline at end of file