Sha256: 7c6e28c73bd4d7375fffcdb4a528995ca9b2d9e8f8ee73e39a6bed984cd40fbf

Contents?: true

Size: 220 Bytes

Versions: 9

Compression:

Stored size: 220 Bytes

Contents

class UserMailer < ActionMailer::Base
  default from: 'rails@minitest.spec'

  def welcome(user)
    @user = user
    mail to: @user.email, subject: 'Welcome', body: "Welcome to MiniTest::Spec #{@user.email}!"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
minitest-spec-rails-7.0.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.2.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.1.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.0.4 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.0.3 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.0.2 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.0.1 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-6.0.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.5.0 test/dummy_app/app/mailers/user_mailer.rb