Update push notification test to use chai expect

This commit is contained in:
Blade Barringer
2015-05-11 08:19:49 -05:00
parent a7fa8dc9a4
commit 3cda9ff820
+2 -2
View File
@@ -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()