Commit 1d921e21 authored by jeresig's avatar jeresig

Follow-up to 100ed686, forgot to remove one of the tests.

parent ed5731dc
...@@ -184,7 +184,7 @@ test("attr(String, Object)", function() { ...@@ -184,7 +184,7 @@ test("attr(String, Object)", function() {
}); });
test("attr(jquery_method)", function(){ test("attr(jquery_method)", function(){
expect(8); expect(7);
var $elem = jQuery("<div />"), var $elem = jQuery("<div />"),
elem = $elem[0]; elem = $elem[0];
...@@ -196,9 +196,6 @@ test("attr(jquery_method)", function(){ ...@@ -196,9 +196,6 @@ test("attr(jquery_method)", function(){
$elem.attr('text', 'bar'); $elem.attr('text', 'bar');
equals( elem.innerHTML, 'bar', 'attr(text)'); equals( elem.innerHTML, 'bar', 'attr(text)');
$elem.attr('addClass', 'css');
equals( elem.className, 'css', 'attr(addClass)');
$elem.attr('css', {color:'red'}); $elem.attr('css', {color:'red'});
ok( /^(#ff0000|red)$/i.test(elem.style.color), 'attr(css)'); ok( /^(#ff0000|red)$/i.test(elem.style.color), 'attr(css)');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment