mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-22 05:44:16 +00:00
Removed duplicated test
This commit is contained in:
parent
f75bbb6e5f
commit
b249e103de
1 changed files with 0 additions and 10 deletions
|
|
@ -54,16 +54,6 @@ describe('Notification Controller', function() {
|
|||
expect(rootScope.openModal).to.be.calledOnce;
|
||||
expect(rootScope.openModal).to.be.calledWith('questCompleted', {controller:'InventoryCtrl'});
|
||||
});
|
||||
|
||||
it('does not open quest invitation modal if quest.completed contains a quest key', function() {
|
||||
user.party.quest.RSVPNeeded = true;
|
||||
user.party.quest.completed = "hedgebeast";
|
||||
scope.$digest();
|
||||
|
||||
// Completion modal should open, but should be the only modal that opens
|
||||
expect(rootScope.openModal).to.be.calledOnce;
|
||||
expect(rootScope.openModal).to.be.calledWith('questCompleted', {controller:'InventoryCtrl'});
|
||||
});
|
||||
});
|
||||
describe('Quest Completion modal watch', function() {
|
||||
beforeEach(function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue