Skip to content
Permalink
Browse files
Follow-up to 100ed68, forgot to remove one of the tests.
  • Loading branch information
jeresig committed Dec 17, 2009
1 parent ed5731d commit 1d921e2
Showing 1 changed file with 1 addition and 4 deletions.
@@ -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)');

0 comments on commit 1d921e2

Please sign in to comment.