improve exception message
This commit is contained in:
parent
1c5f22bd4d
commit
211f0eddd5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue