Created
December 7, 2012 11:27
-
-
Save StefanH/4232681 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# issue 8048 | |
gem 'rails', '3.2.8' | |
require 'action_mailer' | |
ActionMailer::Base.delivery_method = :test | |
class TestMailer < ActionMailer::Base | |
def anything | |
mail(to: "someone") | |
nil | |
end | |
end | |
TestMailer.anything.deliver | |
puts ActionMailer::Base.deliveries.count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment