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

Commit

Permalink
test(macModal): Make sure afterHide test is working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlee44 committed Mar 20, 2014
1 parent 2a5c1f2 commit daa10bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/modal.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ describe "Mac modal", ->
expect($rootScope.afterHide).not.toHaveBeenCalled()

modal.hide()
$timeout.flush()

expect($rootScope.afterHide).toHaveBeenCalled()

Expand Down

0 comments on commit daa10bc

Please sign in to comment.