jquery/test/unit/deprecated.js
Michał Gołębiowski 0db70aa1fa Fix #13741. Make wrap/unwrap methods optional; close gh-1236.
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00

9 lines
207 B
JavaScript

module("deprecated", { teardown: moduleTeardown });
if ( jQuery.fn.size ) {
test("size()", function() {
expect(1);
equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
});
}