[jQuery] QUnit: Test that "submit" is called on a form

[jQuery] QUnit: Test that "submit" is called on a form


I'm new to QUnit (and to JQuery for that matter). I have a function
that calls "submit" on a form and am looking for a way to mock the
form, or at least intercept the call to submit. I want to test that
the form is getting submitted, but I don't want the submit to actually
occur.
Any suggestions?
Todd