Sha256: 78ff4f41b8b87a5655d2d14414e24645ac240bc44e3c6c59bc55d0f860f309f9

Contents?: true

Size: 575 Bytes

Versions: 7383

Compression:

Stored size: 575 Bytes

Contents

require 'rspec/mocks'

module RSpec
  module Core
    module MockingAdapters
      # @private
      module RSpec
        include ::RSpec::Mocks::ExampleMethods

        def self.framework_name
          :rspec
        end

        def self.configuration
          ::RSpec::Mocks.configuration
        end

        def setup_mocks_for_rspec
          ::RSpec::Mocks.setup
        end

        def verify_mocks_for_rspec
          ::RSpec::Mocks.verify
        end

        def teardown_mocks_for_rspec
          ::RSpec::Mocks.teardown
        end
      end
    end
  end
end

Version data entries

7,383 entries across 7,297 versions & 131 rubygems

Version Path
rspec-core-3.1.2 lib/rspec/core/mocking_adapters/rspec.rb
rspec-core-3.1.1 lib/rspec/core/mocking_adapters/rspec.rb
rspec-core-3.1.0 lib/rspec/core/mocking_adapters/rspec.rb