title: Jasmine: how to check that array contains an object?
body: <p>This check used to pass:</p>
  
  <pre><code>expect(array).toContain(value)
  </code></pre>
  
  <p>Array:</p>
  
  <pre><code>[
    {"_t":"user","id":1073970419,"email":"email3@example.org","name":"Spectator"},
    {"_t":"user","id":4464992042,"email":"email4@example.org","name":"Collaborator"},
    {"_t":"user","id":1978569710,"email":"email5@example.org","name":"Manage"}
  ]
  </code></pre>
  
  <p>Value:</p>
  
  <pre><code>{"_t":"user","id":1978569710,"email":"email5@example.org","name":"Manage"}
  </code></pre>
  
  <p>But no longer passes. Whats the new way to write the same test?</p>