Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(modal): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Aug 5, 2015
1 parent 8853bd8 commit e60c3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modal/test/modal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ describe('$modal', function () {
var modal = open({template: '<div>Content</div>', scope: scope});
scope.$destroy();

expect(modal.result).toBeRejectedWith('$uibModal');
expect(modal.result).toBeRejectedWith('$uibUnscheduledDestruction');

$animate.triggerCallbacks();
expect($document).toHaveModalsOpen(0);
Expand Down

0 comments on commit e60c3ff

Please sign in to comment.