3.0.1 -> 3.0.2
[bootswatch] / bower_components / bootstrap / js / tests / unit / tab.js
old mode 100755 (executable)
new mode 100644 (file)
index aede32a..0db7cdb
@@ -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')
       })