Fix api and karma test

This commit is contained in:
Blade Barringer
2015-08-24 18:07:21 -05:00
parent 484609c634
commit 5b583f43d6
2 changed files with 4 additions and 2 deletions

View File

@@ -133,7 +133,9 @@ describe("Party Controller", function() {
beforeEach(function() {
party = {};
sandbox.stub(rootScope, 'hardRedirect');
scope.group = {
quest: { members: { 'user-id': true } }
};
leaveSpy = sandbox.stub(groups, 'questLeave').returns({
then: sandbox.stub().yields()
});