summaryrefslogtreecommitdiffstats
path: root/test/integration/sendgrid.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/sendgrid.test.js')
-rw-r--r--test/integration/sendgrid.test.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/sendgrid.test.js b/test/integration/sendgrid.test.js
index 525d84f..9a0b919 100644
--- a/test/integration/sendgrid.test.js
+++ b/test/integration/sendgrid.test.js
@@ -28,6 +28,16 @@ describe('SendGrid #skip', function () {
payload.subject += "rest ";
});
+ it('has a blank send payload', function(done) {
+ sendgrid.send({}, function(success, message) {
+ expect(success).to.be.false;
+
+ done();
+ });
+
+ done();
+ });
+
it('has an optional callback', function(done) {
payload.subject += "has an optional callback";