From 211f0eddd50aa1f1c7aae1f804cdfc0c507b97bd Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Mon, 11 Jan 2016 19:42:20 -0800 Subject: [PATCH] improve exception message --- tests/lib/RealmTests.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/lib/RealmTests.js b/tests/lib/RealmTests.js index 32bb20b7..a404c9e9 100644 --- a/tests/lib/RealmTests.js +++ b/tests/lib/RealmTests.js @@ -69,9 +69,8 @@ module.exports = BaseTest.extend({ var newPath = util.realmPathForFile('default2.realm'); Realm.defaultPath = newPath; defaultRealm = new Realm({schema: []}); - TestCase.assertEqual(defaultRealm.path, newPath); - TestCase.assertEqual(Realm.defaultPath, newPath); - + TestCase.assertEqual(defaultRealm.path, newPath, "should use updated default realm path"); + TestCase.assertEqual(Realm.defaultPath, newPath, "defaultPath should have been updated"); }, testRealmCreate: function() {