diff --git a/test/spec/controllers/notificationCtrlSpec.js b/test/spec/controllers/notificationCtrlSpec.js index 03b3e63d7f..5687eea182 100644 --- a/test/spec/controllers/notificationCtrlSpec.js +++ b/test/spec/controllers/notificationCtrlSpec.js @@ -67,6 +67,7 @@ describe('Notification Controller', function() { 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() { user.party.quest.RSVPNeeded = true; user.party.quest.completed = "hedgebeast";