From 1d921e21714ab98421abaee1e1003b4497a950f9 Mon Sep 17 00:00:00 2001 From: jeresig Date: Thu, 17 Dec 2009 14:18:15 -0500 Subject: [PATCH] Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the tests. --- test/unit/attributes.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)'); -- 1.7.10.4