Sha256: 3854ffea1c080c632c2267ef6cc1d5389469d9aef31e0f4ee7b060d81681ff96

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

shared_examples 'uses mailer files' do
  context do
    it do
      admin_mailer = content('app/mailers/admin_mailer.rb')
      expect(admin_mailer).to match('class AdminMailer')

      application_mailer = content('app/mailers/application_mailer.rb')
      expect(application_mailer).to match('Settings.email.noreply')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-2.3.2 spec/support/shared_examples/mailer_test_helper.rb
cybele-2.3.1 spec/support/shared_examples/mailer_test_helper.rb
cybele-2.2.0 spec/support/shared_examples/mailer_test_helper.rb