Sha256: 963e315e605bb61d26c9e4483e2e8361cc95c9dd42801ae30a43f7c9ca582e76

Contents?: true

Size: 607 Bytes

Versions: 7099

Compression:

Stored size: 607 Bytes

Contents

require 'rr'

RSpec.configuration.backtrace_exclusion_patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)

module RSpec
  module Core
    # @private
    module MockingAdapters
      # @private
      module RR
        def self.framework_name
          :rr
        end

        include ::RR::Extensions::InstanceMethods

        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
end

Version data entries

7,099 entries across 7,013 versions & 130 rubygems

Version Path
cybrid_api_bank_ruby-0.122.57 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.57 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.54 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.53 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.52 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.51 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.49 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.49 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.49 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_bank_ruby-0.122.48 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_id_ruby-0.122.48 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb
cybrid_api_organization_ruby-0.122.48 vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/mocking_adapters/rr.rb