title: jasmine test a Restangular response
body: <p>I'm calling </p>
  
  <pre><code>Restangular.all('resource').getList() 
  </code></pre>
  
  <p>and I want to test that the results are as expected.</p>
  
  <p>In my test, I want to make this work</p>
  
  <pre><code>expectedResp = { one: 1, two: 2, three: 3 };
  expect(resp).toEqual(expectedResp);
  </code></pre>
  
  <p>The problem is that the resp from restangular is restangularized, meaning it contains a bunch of members in addition to the data returned from the rest call.</p>