|
|
@@ -51,7 +51,8 @@ describe "EmailSender", ->
|
|
|
it "should set the properties on the email to send", (done)->
|
|
|
@sesClient.sendMail.callsArgWith(1)
|
|
|
|
|
|
- @sender.sendEmail @opts, =>
|
|
|
+ @sender.sendEmail @opts, (err) =>
|
|
|
+ expect(err).to.not.exist
|
|
|
args = @sesClient.sendMail.args[0][0]
|
|
|
args.html.should.equal @opts.html
|
|
|
args.to.should.equal @opts.to
|