Sha256: e423c9dcf661afb93ec1103a39762efc21386bfd8536d976d782f76286c0f271

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

module Helpers
  module Configuration
    def self.prep_for_tests(delay = 100)
      DefraRubyMocks.configure do |config|
        config.enable = true
        config.delay = delay
      end
    end

    def self.reset_for_tests
      DefraRubyMocks.reset_configuration
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
defra_ruby_mocks-1.0.0 spec/support/helpers/configuration.rb