Sha256: 7294f47f2b6af4742a1fee7c46e6c8bb896bfb80a401366edafcf7e0fa5e4946

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

module Helpers
  module Configuration
    def self.prep_for_tests
      DefraRubyEmail.reset_configuration
      DefraRubyEmail.configure do |config|
        config.enable = true
      end
    end

    def self.reset_for_tests
      DefraRubyEmail.reset_configuration
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
defra_ruby_email-1.2.0 spec/support/helpers/configuration.rb
defra_ruby_email-1.1.0 spec/support/helpers/configuration.rb
defra_ruby_email-1.0.0 spec/support/helpers/configuration.rb
defra_ruby_email-0.2.0 spec/support/helpers/configuration.rb
defra_ruby_email-0.1.0 spec/support/helpers/configuration.rb