From 3cda9ff82044425b07d41c953d8af3b1b8811563 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Mon, 11 May 2015 08:19:49 -0500 Subject: [PATCH] Update push notification test to use chai expect --- test/api/pushNotifications.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/pushNotifications.coffee b/test/api/pushNotifications.coffee index b79187af13..a2a84e42d0 100644 --- a/test/api/pushNotifications.coffee +++ b/test/api/pushNotifications.coffee @@ -18,8 +18,8 @@ describe "Push-Notifications", -> User.findOne _id: global.user._id , (err, _user) -> - expect(_user.pushDevices.length).to.be 1 - expect(_user.pushDevices[0].regId).to.be "123123" + expect(_user.pushDevices.length).to.equal 1 + expect(_user.pushDevices[0].regId).to.equal "123123" done()