// This assumes that QUnit tests are run on DOM ready!
test("jQuery ready",function(){
expect(11);
expect(10);
ok(noEarlyExecution,"Handlers bound to DOM ready should not execute before DOM ready");
// Ensure execution order.
same(order,["a","b","c","d","e","f"],"All bound DOM ready handlers should have executed in bind-order");
same(order,["a","b","d","e","c","f"],"Bound DOM ready handlers should execute in bind-order, but those bound with jQuery(document).bind( 'ready', fn ) will always execute last");
// Ensure handler argument is correct.
equals(args.a,jQuery,"Argument passed to fn in jQuery( fn ) should be jQuery");