Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 688 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 688 Bytes

About

mail_inbox is an email catcher for visual testing. It might be also used for acceptance tests with capybara. Acts like a mail client for mail deliveries from your app.

Inspired by / borrowing / simillar / yet different from:

  • mail_view
  • inbox
  • cache_mailer

Usage

Rails 2.x

gem install mail_inbox

in config/environments/development.rb:

# MailInbox preview app
require 'mail_inbox'
config.middleware.use MailInbox::Mapper, '/mail_inbox'

# Action mailer using MailInbox
config.action_mailer.perform_deliveries  = true
config.action_mailer.delivery_method     = :mail_inbox

Rails 3.x

TBD

Sinatra

TBD