Sha256: cc73c1bd605288b8a8e789d90cb0d40cd72631ff395c9725a4c80fa8d37d37b6
Contents?: true
Size: 594 Bytes
Versions: 17
Compression:
Stored size: 594 Bytes
Contents
module RR module Adapters module TestUnit include RRMethods def self.included(mod) RR.trim_backtrace = true mod.class_eval do alias_method :setup_without_rr, :setup def setup_with_rr setup_without_rr RR.reset end alias_method :setup, :setup_with_rr alias_method :teardown_without_rr, :teardown def teardown_with_rr RR.verify teardown_without_rr end alias_method :teardown, :teardown_with_rr end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems