Sha256: 2d6cb38d29fbbcf1dad7e51be33d73f8df87745d43df5c12bc188f9bfe8bbb29

Contents?: true

Size: 106 Bytes

Versions: 18

Compression:

Stored size: 106 Bytes

Contents

def inbox
   ActionMailer::Base.deliveries
end

def clear_inbox
  ActionMailer::Base.deliveries.clear
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
myrails-7.0.0 lib/myrails/templates/spec/support/configs/mailer.rb
myrails-6.0.0 lib/myrails/templates/spec/support/configs/mailer.rb
myrails-5.0.0 lib/myrails/templates/spec/support/configs/mailer.rb
myrails-4.0.0 lib/myrails/templates/rspec/mailer.rb
myrails-3.2.1 lib/myrails/templates/rspec/mailer.rb
myrails-3.2.0 lib/myrails/templates/rspec/mailer.rb
myrails-3.1.0 lib/myrails/templates/rspec/mailer.rb
myrails-3.0.0 lib/myrails/templates/rspec/mailer.rb
myrails-2.2.2 lib/myrails/templates/rspec/mailer.rb
myrails-2.2.1 lib/myrails/templates/rspec/mailer.rb
myrails-2.2.0 lib/myrails/templates/rspec/mailer.rb
myrails-2.1.0 lib/myrails/templates/rspec/mailer.rb
myrails-2.0.0 lib/myrails/templates/rspec/mailer.rb
myrails-1.1.1 lib/myrails/templates/rspec/mailer.rb
myrails-1.1.0 lib/myrails/templates/rspec/mailer.rb
myrails-1.0.2 lib/myrails/templates/rspec/mailer.rb
myrails-1.0.1 lib/myrails/templates/rspec/mailer.rb
myrails-1.0.0 lib/myrails/templates/rspec/mailer.rb