From 2f8f69d6affd53afa4f21fc4e9d80b973d8e76ad Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Wed, 28 Jun 2017 13:27:47 -0400 Subject: [PATCH] test monthly digest --- test/user.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/user.js b/test/user.js index 5a60dfd7fe..d7118e4a0b 100644 --- a/test/user.js +++ b/test/user.js @@ -1011,6 +1011,13 @@ describe('User', function () { done(); }); }); + + it('should not send digests', function (done) { + User.digest.execute({ interval: 'month' }, function (err) { + assert.ifError(err); + done(); + }); + }); }); describe('socket methods', function () {