]> source.dussan.org Git - jquery.git/commitdiff
Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the...
authorjeresig <jeresig@gmail.com>
Thu, 17 Dec 2009 19:18:15 +0000 (14:18 -0500)
committerjeresig <jeresig@gmail.com>
Thu, 17 Dec 2009 19:18:15 +0000 (14:18 -0500)
test/unit/attributes.js

index 9f0da1fd77d40cf476402c33a304c1891a562a62..763f1656debed38c467d31d7b4b4f4d5cfb69935 100644 (file)
@@ -184,7 +184,7 @@ test("attr(String, Object)", function() {
 });
 
 test("attr(jquery_method)", function(){
-       expect(8);
+       expect(7);
        
        var $elem = jQuery("<div />"),
                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)');