rem: test("removeAttr(String", function() { expect(1); ok( $('#mark').removeAttr("class")[0].className == "", "remove class" ); 
add: test("removeClass(String) - simple", function() { expect(3); var div = $("div").addClass("test").removeClass("test"), pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).className.indexOf("test") != -1 ) pass = false; } ok( pass, "Remove Class" );  reset(); var div = $("div").addClass("test").addClass("foo").addClass("bar"); div.removeClass("test").removeClass("bar").removeClass("foo"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).className.match(/test|bar|foo/) ) pass = false; } ok( pass, "Remove multiple classes" );  reset(); var div = $("div:eq(0)").addClass("test").removeClass(""); ok( div.is('.test'), "Empty string passed to removeClass" );  
context: test("removeAttr(String", function() {	expect(1);	ok( $('#mark').removeAttr("class")[0].className == "", "remove class" );});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/05d401dd8439d8a2137d3fb69a70d671c0d3a69d/coreTest.js/buggy/src/jquery/coreTest.js