Follow-up to 100ed68642
, forgot to remove one of the tests.
This commit is contained in:
parent
ed5731dcc4
commit
1d921e2171
|
@ -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)');
|
||||
|
||||
|
|
Loading…
Reference in a new issue