chore: 🤖 add refreshRouteOnChange option to resource filters (#1289)
This commit is contained in:
1 parent
2614b311a1
commit
3ff89279e6
14 files changed
+92
-54
No files matched your search
@@ -15,14 +15,22 @@ module('Integration | Component | pending-confirmations', function (hooks) {
|
||||
<div class="pending">Pending</div>
|
||||
</PendingConfirmations>
|
||||
`);
|
||||
assert.strictEqual(findAll('.pending').length, 0, 'No pending confirmations');
|
||||
assert.strictEqual(
|
||||
findAll('.pending').length,
|
||||
0,
|
||||
'No pending confirmations'
|
||||
);
|
||||
service.confirm();
|
||||
await render(hbs`
|
||||
<PendingConfirmations as |confirmations|>
|
||||
<div class="pending">Pending</div>
|
||||
</PendingConfirmations>
|
||||
`);
|
||||
assert.strictEqual(findAll('.pending').length, 1, 'One pending confirmations');
|
||||
assert.strictEqual(
|
||||
findAll('.pending').length,
|
||||
1,
|
||||
'One pending confirmations'
|
||||
);
|
||||
});
|
||||
|
||||
test('it exposes a confirm action that confirms the confirmation', async function (assert) {
|
||||
|
||||
Reference in new issue
Block a user