title: Jasmine : Expect $http.post() not have been called
body: <p>In an angularjs program I'd like to test with Jasmine if an http post is NOT performed in a test.</p>
  
  <p>I've try the following code :</p>
  
  <pre><code>expect($http.post).not().toHaveBeenCalled();
  </code></pre>
  
  <p>But I get "ReferenceError: $http is not defined"</p>