aboutsummaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-02-06 00:17:31 -0800
committerJacob Thornton <[email protected]>2012-02-06 00:17:31 -0800
commitc8c4d5b3925b033723a3f589db9c579b37ca5ceb (patch)
tree3c7d62e87ffc71ab47919a9e45a17cd89bdefd4d /js/tests
parentf68f7870efd4e56dc1d651dc5de37b265558fce1 (diff)
downloadbootstrap-c8c4d5b3925b033723a3f589db9c579b37ca5ceb.tar.xz
bootstrap-c8c4d5b3925b033723a3f589db9c579b37ca5ceb.zip
fix alert tests + add show option back to modals
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/bootstrap-alert.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/bootstrap-alert.js b/js/tests/unit/bootstrap-alert.js
index f961345c3..e607f4340 100644
--- a/js/tests/unit/bootstrap-alert.js
+++ b/js/tests/unit/bootstrap-alert.js
@@ -13,7 +13,7 @@ $(function () {
test("should fade element out on clicking .close", function () {
var alertHTML = '<div class="alert-message warning fade in">'
+ '<a class="close" href="#" data-dismiss="alert">×</a>'
- + '<p><strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.</p>'
+ + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>'
+ '</div>'
, alert = $(alertHTML).alert()
@@ -27,7 +27,7 @@ $(function () {
var alertHTML = '<div class="alert-message warning fade in">'
+ '<a class="close" href="#" data-dismiss="alert">×</a>'
- + '<p><strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.</p>'
+ + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>'
+ '</div>'
, alert = $(alertHTML).appendTo('#qunit-fixture').alert()