Sha256: 193c2d079f2a7cbb0b13e082a5c91405ea09226e22ddfa8dcfad378b5f57d9ee

Contents?: true

Size: 476 Bytes

Versions: 6

Compression:

Stored size: 476 Bytes

Contents

patterns = ::Spec::Runner::QuietBacktraceTweaker::IGNORE_PATTERNS
patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)

module RR
  module Adapters
    module Rspec
      include RR::Extensions::DoubleMethods
      def setup_mocks_for_rspec
        RR::Space.instance.reset_doubles
      end
      def verify_mocks_for_rspec
        RR::Space.instance.verify_doubles
      end
      def teardown_mocks_for_rspec
        RR::Space.instance.reset_doubles
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rr-0.1.6 lib/rr/adapters/rspec.rb
rr-0.1.5 lib/rr/adapters/rspec.rb
rr-0.1.3 lib/rr/adapters/rspec.rb
rr-0.1.1 lib/rr/adapters/rspec.rb
rr-0.1.2 lib/rr/adapters/rspec.rb
rr-0.1.4 lib/rr/adapters/rspec.rb