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
@@ -18,9 +18,17 @@ module('Unit | Service | confirm', function (hooks) {
|
||||
assert.expect(3);
|
||||
const service = this.owner.lookup('service:confirm');
|
||||
service.enabled = true;
|
||||
assert.strictEqual(service.pending.length, 0, 'No pending confirmations yet');
|
||||
assert.strictEqual(
|
||||
service.pending.length,
|
||||
0,
|
||||
'No pending confirmations yet'
|
||||
);
|
||||
const confirmation = service.confirm();
|
||||
assert.strictEqual(service.pending.length, 1, 'One pending confirmation created');
|
||||
assert.strictEqual(
|
||||
service.pending.length,
|
||||
1,
|
||||
'One pending confirmation created'
|
||||
);
|
||||
confirmation.confirm();
|
||||
assert.strictEqual(service.pending.length, 0, 'Confirmation was confirmed');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user