From 4adc19caf0f5ca168f4e444acc4cec92c48dc17e Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 13 Aug 2015 19:55:13 -0500 Subject: [PATCH] Fix test --- test/common/user.ops.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/user.ops.test.js b/test/common/user.ops.test.js index c5ea8d9132..6e26d5430a 100644 --- a/test/common/user.ops.test.js +++ b/test/common/user.ops.test.js @@ -26,14 +26,14 @@ describe('user.ops', function() { describe('readCard', function() { it('removes card from invitation array', function() { user.items.special.valentineReceived = ['Leslie']; - user.ops.readCard('valentine'); + user.ops.readCard({ params: { cardType: 'valentine' } }); expect(user.items.special.valentineReceived).to.be.empty; }); it('removes the first card from invitation array', function() { user.items.special.valentineReceived = ['Leslie', 'Vicky']; - user.ops.readCard('valentine'); + user.ops.readCard({ params: { cardType: 'valentine' } }); expect(user.items.special.valentineReceived).to.eql(['Vicky']); });