Sha256: 00742b6b4b665ffe0d4e54d74b933a8c3a25458e70175130020ff71e44d9e56b

Contents?: true

Size: 434 Bytes

Versions: 45

Compression:

Stored size: 434 Bytes

Contents

require 'rr'

Micronaut.configuration.backtrace_clean_patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)

module Micronaut
  module Mocking
    module WithRR
      include RR::Extensions::InstanceMethods

      def _setup_mocks
        RR::Space.instance.reset
      end

      def _verify_mocks
        RR::Space.instance.verify_doubles
      end

      def _teardown_mocks
        RR::Space.instance.reset
      end

    end
  end
end

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
rsanheim-micronaut-0.1.3.2 lib/micronaut/mocking/with_rr.rb
rsanheim-micronaut-0.1.4.1 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.3 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.4.1 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.4.2 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.4.3 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.4.4 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.4 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.5.2 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.5 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.6.1 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.6.8 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.6.9.1 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.6.9 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.6 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.7.1 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.7.2 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.7.3 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.7.4 lib/micronaut/mocking/with_rr.rb
spicycode-micronaut-0.1.7 lib/micronaut/mocking/with_rr.rb