title: How do I test a form submit in Jasmine?
body: <p>I have a form that does some extensive Javascript stuff before finally POSTing to it's ACTION URL. I am writing some Jasmine unit tests and want to make sure the Javascript stuff happens when the form is submitted. However, I definitely don't want the page to go to the ACTION URL while I am unit testing.</p>
  
  <p>I saw what seemed like a good suggestion here:
  <a href="http://groups.google.com/group/jasmine-js/browse_thread/thread/a010eced8db17c1a?pli=1" rel="noreferrer">http://groups.google.com/group/jasmine-js/browse_thread/thread/a010eced8db17c1a?pli=1</a></p>
  
  <p>...but, as I am fairly new to Jasmine, I am unsure how to implement it and cannot find any pertinent examples on the web. Does anyone have some sample code I could look at that would accomplish what I need?</p>
  
  <p>Thanks!</p>