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');
|
var newPath = util.realmPathForFile('default2.realm');
|
||||||
Realm.defaultPath = newPath;
|
Realm.defaultPath = newPath;
|
||||||
defaultRealm = new Realm({schema: []});
|
defaultRealm = new Realm({schema: []});
|
||||||
TestCase.assertEqual(defaultRealm.path, newPath);
|
TestCase.assertEqual(defaultRealm.path, newPath, "should use updated default realm path");
|
||||||
TestCase.assertEqual(Realm.defaultPath, newPath);
|
TestCase.assertEqual(Realm.defaultPath, newPath, "defaultPath should have been updated");
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
testRealmCreate: function() {
|
testRealmCreate: function() {
|
||||||
|
|
Loading…
Reference in New Issue