Created
August 24, 2011 17:47
-
-
Save DavidQL/1168656 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
it "should queue the email for delivery" do | |
ActionMailer::Base.deliveries.should_not be_empty | |
end | |
it "should set the recipients correctly" do | |
ActionMailer::Base.deliveries[0].to.include?("[email protected]").should be_true | |
ActionMailer::Base.deliveries[0].to.include?("[email protected]").should be_true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment