mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Merge branch 'develop' into TheHollidayInn-challenges-clone
Take specHelper off of global scope
This commit is contained in:
@@ -188,10 +188,10 @@ describe('Challenges Controller', function() {
|
||||
var challengeToClone = {
|
||||
name: 'copyChallenge',
|
||||
description: 'copyChallenge',
|
||||
habits: [newHabit()],
|
||||
dailys: [newDaily()],
|
||||
todos: [newTodo()],
|
||||
rewards: [newReward()],
|
||||
habits: [specHelper.newHabit()],
|
||||
dailys: [specHelper.newDaily()],
|
||||
todos: [specHelper.newTodo()],
|
||||
rewards: [specHelper.newReward()],
|
||||
leader: 'unique-user-id',
|
||||
group: { _id: "copyGroup" },
|
||||
timestamp: new Date("October 13, 2014 11:13:00"),
|
||||
|
||||
Reference in New Issue
Block a user