title: Why use spyOn instead of jasmine.createSpy?
body: <p>What is the difference between</p>
  
  <blockquote>
    <p>jasmine.createSpy('someMethod')</p>
  </blockquote>
  
  <p>And</p>
  
  <blockquote>
    <p>spyOn(someObject, 'someMethod') </p>
  </blockquote>
  
  <p>And why should one choose to use spyOn? </p>
  
  <p>My guess is that the first alternative will match the method someMethod no matter in what object it's contained but spyOn will only match if it's contained in someObject. Thus making createSpy just a more generic matcher? </p>