angular-ui/bootstrap — pull request #1284 by bekos (2013-11-22 16:27:11+00:00)
Title: test(alert): fix wrong assertion test for close button

This test was passing anyway, even if there was a close attribute in the alert.
The right thing to test is button's visibility instead of existence.