Sha256: d7495ca6618415eae905640c042499ab291b7b2c5905b27ecefb61e3b0454b72

Contents?: true

Size: 234 Bytes

Versions: 5

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

module RSpec
  module Mock
    module Configuration
      def rspec_mock
        RSpec::Mocks.configuration.tap do |config|
          yield config if block_given?
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-mock-0.4.0 lib/rspec/mock/configuration.rb
rspec-mock-0.3.1 lib/rspec/mock/configuration.rb
rspec-mock-0.3.0 lib/rspec/mock/configuration.rb
rspec-mock-0.2.0 lib/rspec/mock/configuration.rb
rspec-mock-0.1.0 lib/rspec/mock/configuration.rb