title: Jasmine object “has no method 'andReturn'”
body: <p>Beginner with Jasmine, very first attempt with Jasmine Spies.  I thought I was mimicking the format <a href="http://pivotal.github.io/jasmine/" rel="noreferrer">displayed here</a> (search: "andReturn"), but I'm getting an error that I can't work out:</p>
  
  <pre><code>TypeError: Object function () {
          callTracker.track({
            object: this,
            args: Array.prototype.slice.apply(arguments)
          });
          return spyStrategy.exec.apply(this, arguments);
        } has no method 'andReturn'
  </code></pre>
  
  <p>No clue what I'm doing wrong.  Here's my Spec:</p>
  
  <pre><code>describe('Die', function() {
      it('returns a value when you roll it', function() {
          var die = Object.create(Die);
          spyOn(Math, 'random').andReturn(1);
          expect(die.roll()).toEqual(6);
      });
  });
  </code></pre>
  
  <p>And the corresponding JS:</p>
  
  <pre><code>var Die = 
  {   
      roll: function() {
          return Math.floor(Math.random() * 5 + 1);
      }
  }
  </code></pre>
  
  <p>Thanks for the help!!!</p>