factory_girl
https://github.com/thoughtbot/factory_girl
Ruby
A library for setting up Ruby objects as test data.
Mail::Message#deliver!
This method bypasses checking perform_deliveries and raise_delivery_errors, so use with caution. It still however fires off the interceptors and calls the observers callbacks if they are defined. Returns self
Edit
git clone [email protected]:thoughtbot/factory_girl.git
cd factory_girl
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mail--Message-deliver--for-pr
# Commit to gitgit add git commit -m "better docs for Mail::Message#deliver!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mail--Message-deliver--for-pr
hub pull-request
# Celebrate!