title: Spying on console.error() with Jasmine
body: <p>I'm actually new to JavaScript as well as Jasmine. So it might be something really obvious that fixes my problem but I can't see it.</p>
  
  <p>I want to check if (an already existing) JavaScript application calls <code>console.error()</code> while loading. I don't really see a way how to realise this with Jasmine. I've included the JavaScript file as well as the spec file in the <code>SpecRunner.html</code>.
  But I take it that I somehow need to "instantiate" the application in order to test if it throws any errors on the console, right?</p>
  
  <p>Or should I include the <code>SpecRunner.html</code> code only for this purpose into the HTML code of the app?</p>