mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Fix api and karma test
This commit is contained in:
@@ -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()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user