diff --git a/tests/ResultsTests.js b/tests/ResultsTests.js index c3180c24..b49bca85 100644 --- a/tests/ResultsTests.js +++ b/tests/ResultsTests.js @@ -48,6 +48,7 @@ module.exports = BaseTest.extend({ TestCase.assertEqual(people[2], undefined); TestCase.assertEqual(people[-1], undefined); TestCase.assertTrue(Object.getPrototypeOf(people[0]) === schemas.PersonObject.prototype); + TestCase.assertTrue(people[0] instanceof schemas.PersonObject); }, testResultsInvalidProperty: function() { var realm = new Realm({schema: [schemas.TestObject]});