lib/covered/minitest.rb in covered-0.22.1 vs lib/covered/minitest.rb in covered-0.23.0
- old
+ new
@@ -19,12 +19,10 @@
end
end
end
if $covered.record?
- class << Minitest
- prepend Covered::Minitest
- end
+ Minitest.singleton_class.prepend(Covered::Minitest)
Minitest.after_run do
$covered.finish
$covered.call($stderr)
end