mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix spy?
This commit is contained in:
@@ -8,10 +8,11 @@ describe("Party Controller", function() {
|
||||
user._id = "unique-user-id";
|
||||
User = {
|
||||
user: user,
|
||||
sync: sandbox.spy,
|
||||
set: sandbox.spy
|
||||
sync: sandbox.spy
|
||||
}
|
||||
|
||||
sandbox.spy(User, "set");
|
||||
|
||||
module(function($provide) {
|
||||
$provide.value('User', User);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user