mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-10 14:29:11 +00:00
test(unlocks): Check Rebirth
This commit is contained in:
parent
6dbac3280d
commit
0f08c2a8b1
1 changed files with 6 additions and 0 deletions
|
|
@ -660,6 +660,12 @@ describe 'User', ->
|
|||
user.fns.updateStats(user.stats)
|
||||
expect(user.flags.dropsEnabled).to.be.ok()
|
||||
|
||||
it 'unlocks Rebirth at level 50', ->
|
||||
user = newUser()
|
||||
user.stats.lvl = 50
|
||||
user.fns.updateStats(user.stats)
|
||||
expect(user.flags.rebirthEnabled).to.be.ok()
|
||||
|
||||
describe 'level-awarded Quests', ->
|
||||
it 'gets Attack of the Mundane at level 15', ->
|
||||
user = newUser()
|
||||
|
|
|
|||
Loading…
Reference in a new issue