From 966f9d2aca2b001e3efeb54b3b5d621ab079c1d6 Mon Sep 17 00:00:00 2001 From: hairlessbear Date: Wed, 27 May 2015 12:06:19 -0400 Subject: [PATCH] Fixed tests using crookedneighbor's code --- test/api/pushNotifications.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/api/pushNotifications.coffee b/test/api/pushNotifications.coffee index 9b43ca08c7..4a1cd97fca 100644 --- a/test/api/pushNotifications.coffee +++ b/test/api/pushNotifications.coffee @@ -94,6 +94,8 @@ describe "Push-Notifications", -> cb(null, recipient) find: (arg, arg2, cb) -> cb(null, [recipient]) + update: (arg, arg2) -> + { exec: -> true} } groups.__set__('User', userMock) done()