Sha256: 4986428b11a6fc930c079d77cf680b2453a5957299ace62ad4ed3427f8f59e33
Contents?: true
Size: 654 Bytes
Versions: 9
Compression:
Stored size: 654 Bytes
Contents
RR::Space.trim_backtrace = true module RR module Adapters module TestUnit include RR::Extensions::DoubleMethods def self.included(mod) mod.class_eval do alias_method :setup_without_rr, :setup def setup_with_rr setup_without_rr RR::Space.instance.reset end alias_method :setup, :setup_with_rr alias_method :teardown_without_rr, :teardown def teardown_with_rr RR::Space.instance.verify_doubles teardown_without_rr end alias_method :teardown, :teardown_with_rr end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems