Commit 4fcfee43 authored by Anton M's avatar Anton M

Update number of expected assertions in attribute tests

Followup to commit 97dfa0d5 which
had the side effect to break some attribute unit tests
parent 008e9719
...@@ -512,7 +512,7 @@ test("addClass(Function)", function() { ...@@ -512,7 +512,7 @@ test("addClass(Function)", function() {
}); });
test("addClass(Function) with incoming value", function() { test("addClass(Function) with incoming value", function() {
expect(41); expect(45);
var div = jQuery("div"), old = div.map(function(){ var div = jQuery("div"), old = div.map(function(){
return jQuery(this).attr("class"); return jQuery(this).attr("class");
...@@ -585,7 +585,7 @@ test("removeClass(Function) - simple", function() { ...@@ -585,7 +585,7 @@ test("removeClass(Function) - simple", function() {
}); });
test("removeClass(Function) with incoming value", function() { test("removeClass(Function) with incoming value", function() {
expect(41); expect(45);
var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){ var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){
return jQuery(this).attr("class"); return jQuery(this).attr("class");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment