test: 💍 Change assertion

Change assertion to avoid false positive
This commit is contained in:
Carlos Alcaide committed 2021-07-28 10:51:57 -07:00
1 parent 87479b8e3c
commit 4240bbee56
1 file changed
+4 -1
@@ -157,7 +157,10 @@ module('Acceptance | credential-library', function (hooks) {
await click('form [type="button"]', 'Activate edit mode');
await fillIn('[name="name"]', 'random string');
await click('.rose-form-actions [type="button"]');
assert.notEqual(instances.credentialStore.name, 'random string');
assert.notEqual(
this.server.schema.credentialLibraries.all().models[0].name,
'random string'
);
assert.equal(find('[name="name"]').value, instances.credentialLibrary.name);
});