Sha256: 5090248ead9c5d03897a4992fef212ff295f29a1f778f44b7a8af187df861c95

Contents?: true

Size: 460 Bytes

Versions: 9

Compression:

Stored size: 460 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
      end
      def verify_mocks_for_rspec
        RR::Space.instance.verify_doubles
      end
      def teardown_mocks_for_rspec
        RR::Space.instance.reset
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rr-0.1.8 lib/rr/adapters/rspec.rb
rr-0.1.13 lib/rr/adapters/rspec.rb
rr-0.1.15 lib/rr/adapters/rspec.rb
rr-0.1.11 lib/rr/adapters/rspec.rb
rr-0.1.12 lib/rr/adapters/rspec.rb
rr-0.1.10 lib/rr/adapters/rspec.rb
rr-0.1.7 lib/rr/adapters/rspec.rb
rr-0.1.14 lib/rr/adapters/rspec.rb
rr-0.1.9 lib/rr/adapters/rspec.rb