mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Added explanatory comment
This commit is contained in:
@@ -67,6 +67,7 @@ describe('Notification Controller', function() {
|
|||||||
expect(rootScope.openModal).to.be.calledWith('questCompleted', {controller:'InventoryCtrl'});
|
expect(rootScope.openModal).to.be.calledWith('questCompleted', {controller:'InventoryCtrl'});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Ensures that the completion modal opens before the invitation modal
|
||||||
it('opens quest completion modal if RSVPNeeded is true', function() {
|
it('opens quest completion modal if RSVPNeeded is true', function() {
|
||||||
user.party.quest.RSVPNeeded = true;
|
user.party.quest.RSVPNeeded = true;
|
||||||
user.party.quest.completed = "hedgebeast";
|
user.party.quest.completed = "hedgebeast";
|
||||||
|
|||||||
Reference in New Issue
Block a user