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 1d921e21714ab98421abaee1e1003b4497a950f9
Showing with 1 addition and 4 deletions.
  1. +1 −4 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("<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.
You can’t perform that action at this time.