git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5731d
)
Follow-up to 100ed686426b8b404b094b8c8086aefce715f91a, forgot to remove one of the...
author
jeresig
<jeresig@gmail.com>
Thu, 17 Dec 2009 19:18:15 +0000
(14:18 -0500)
committer
jeresig
<jeresig@gmail.com>
Thu, 17 Dec 2009 19:18:15 +0000
(14:18 -0500)
test/unit/attributes.js
patch
|
blob
|
history
diff --git
a/test/unit/attributes.js
b/test/unit/attributes.js
index
9f0da1f
..
763f165
100644
(file)
--- a/
test/unit/attributes.js
+++ b/
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)');