summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/js/tests/unit/tab.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2013-10-30 16:13:42 -0400
committerThomas Park <thomas@thomaspark.me>2013-10-30 16:13:42 -0400
commit48c64127b37be4a692a70cb7b38ed9744163582b (patch)
treedcf4b4b76612269a6b135c695861eca7e89a0cfa /bower_components/bootstrap/js/tests/unit/tab.js
parent620e501c3d804b1dc2c7d796d7ae378db5e1a040 (diff)
3.0.0 -> 3.0.1
Diffstat (limited to 'bower_components/bootstrap/js/tests/unit/tab.js')
-rwxr-xr-xbower_components/bootstrap/js/tests/unit/tab.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/bower_components/bootstrap/js/tests/unit/tab.js b/bower_components/bootstrap/js/tests/unit/tab.js
index aede32ab..0db7cdb5 100755
--- a/bower_components/bootstrap/js/tests/unit/tab.js
+++ b/bower_components/bootstrap/js/tests/unit/tab.js
@@ -26,10 +26,10 @@ $(function () {
$('<ul><li id="home"></li><li id="profile"></li></ul>').appendTo("#qunit-fixture")
$(tabsHTML).find('li:last a').tab('show')
- equals($("#qunit-fixture").find('.active').attr('id'), "profile")
+ equal($("#qunit-fixture").find('.active').attr('id'), "profile")
$(tabsHTML).find('li:first a').tab('show')
- equals($("#qunit-fixture").find('.active').attr('id'), "home")
+ equal($("#qunit-fixture").find('.active').attr('id'), "home")
})
test("should activate element by tab id", function () {
@@ -42,10 +42,10 @@ $(function () {
$('<ul><li id="home"></li><li id="profile"></li></ul>').appendTo("#qunit-fixture")
$(pillsHTML).find('li:last a').tab('show')
- equals($("#qunit-fixture").find('.active').attr('id'), "profile")
+ equal($("#qunit-fixture").find('.active').attr('id'), "profile")
$(pillsHTML).find('li:first a').tab('show')
- equals($("#qunit-fixture").find('.active').attr('id'), "home")
+ equal($("#qunit-fixture").find('.active').attr('id'), "home")
})
@@ -77,9 +77,9 @@ $(function () {
$(dropHTML).find('ul>li:first a').tab('show').end()
.find('ul>li:last a').on('show', function(event){
- equals(event.relatedTarget.hash, "#1-1")
+ equal(event.relatedTarget.hash, "#1-1")
}).on('shown', function(event){
- equals(event.relatedTarget.hash, "#1-1")
+ equal(event.relatedTarget.hash, "#1-1")
}).tab('show')
})