fix: 🐛 update route
This commit is contained in:
1 parent
64928feef2
commit
884a0ebbc5
1 file changed
+3
-3
@@ -211,13 +211,13 @@ module('Acceptance | projects | targets', function (hooks) {
|
||||
|
||||
test('cannot navigate to a target without proper authorization', async function (assert) {
|
||||
assert.expect(1);
|
||||
instances.target.authorized_actions =
|
||||
instances.target.authorized_actions.filter((item) => item !== 'read');
|
||||
later(async () => {
|
||||
run.cancelTimers();
|
||||
instances.target.authorized_actions =
|
||||
instances.target.authorized_actions.filter((item) => item !== 'read');
|
||||
assert.notOk(find('main tbody .rose-table-header-cell:nth-child(1) a'));
|
||||
}, 750);
|
||||
await visit(urls.target);
|
||||
await visit(urls.targets);
|
||||
});
|
||||
|
||||
test('connecting to a target', async function (assert) {
|
||||
|
||||
Reference in new issue
Block a user