From: jeresig Date: Thu, 17 Dec 2009 19:18:15 +0000 (-0500) Subject: Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the... X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=1d921e21714ab98421abaee1e1003b4497a950f9;p=jquery.git Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the tests. --- diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 9f0da1f..763f165 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -184,7 +184,7 @@ test("attr(String, Object)", function() { }); test("attr(jquery_method)", function(){ - expect(8); + expect(7); var $elem = jQuery("
"), elem = $elem[0]; @@ -196,9 +196,6 @@ test("attr(jquery_method)", function(){ $elem.attr('text', 'bar'); equals( elem.innerHTML, 'bar', 'attr(text)'); - $elem.attr('addClass', 'css'); - equals( elem.className, 'css', 'attr(addClass)'); - $elem.attr('css', {color:'red'}); ok( /^(#ff0000|red)$/i.test(elem.style.color), 'attr(css)');