Sha256: 318c8812ac551d8ee9291386530d2d3b00acca418ad4cafc2e56b06319076b06

Contents?: true

Size: 516 Bytes

Versions: 5

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

module MailTestHelpers
  def mail_test_helper(path) # rubocop:disable Metrics/AbcSize
    file = content(path)
    expect(file).to match('smtp')
    expect(file).to match('address:')
    expect(file).to match('port:')
    expect(file).to match('enable_starttls_auto:')
    expect(file).to match('user_name:')
    expect(file).to match('password:')
    expect(file).to match('authentication:')
    expect(file).to match('host:') unless content('config/settings.yml').present?
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 spec/support/mail_test_helpers.rb
cybele-2.3.1 spec/support/mail_test_helpers.rb
cybele-2.2.0 spec/support/mail_test_helpers.rb
cybele-2.1.0 spec/support/mail_test_helpers.rb
cybele-2.0.0 spec/support/mail_test_helpers.rb