Sha256: 5f1ef0d289e2600282f1346642b93df2945521aed2e4b2c87a2748f65e39c466

Contents?: true

Size: 234 Bytes

Versions: 37

Compression:

Stored size: 234 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

37 entries across 37 versions & 3 rubygems

Version Path
minitest-spec-rails-4.7.11 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.4.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-4.7.10 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-4.7.9 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.3.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.2.2 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-4.7.8 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.2.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.1.1 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.1.0 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-orangejulius-5.0.5.pre.orangejulius test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-orangejulius-5.0.4.pre.orangejulius test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-4.7.7 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.0.4 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-orangejulius-5.0.3.pre.orangejulius test/dummy_app/app/mailers/user_mailer.rb
self_systeem-0.0.5 test/dummy_app/app/mailers/user_mailer.rb
self_systeem-0.0.4 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.0.3 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.0.2 test/dummy_app/app/mailers/user_mailer.rb
minitest-spec-rails-5.0.1 test/dummy_app/app/mailers/user_mailer.rb