Guest User

Untitled

a guest
Jan 23rd, 2018
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. it "should queue the email for delivery" do
  2. ActionMailer::Base.deliveries.should_not be_empty
  3. end
  4.  
  5. it "should set the recipients correctly" do
  6. ActionMailer::Base.deliveries[0].to.include?("email1@quickleft.com").should be_true
  7. ActionMailer::Base.deliveries[0].to.include?("email2@quickleft.com").should be_true
  8. end
Add Comment
Please, Sign In to add comment