Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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?("email1@quickleft.com").should be_true
- ActionMailer::Base.deliveries[0].to.include?("email2@quickleft.com").should be_true
- end
Add Comment
Please, Sign In to add comment