Skip to content

Commit

Permalink
feat: [feat][DB-90214] calledOnceWith
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel committed Mar 6, 2020
1 parent c4b6877 commit aa5559f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/helpers/open-modal-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module('Integration | Helper | open-modal', (hooks) => {

await element.click();

assert.ok(service.open.calledWithMatch('foo'));
assert.ok(service.open.calledOnceWith('foo'));
});

test('it handles the service reject response', async function(assert) {
Expand Down Expand Up @@ -98,7 +98,7 @@ module('Integration | Helper | open-modal', (hooks) => {

await element.click();

assert.ok(service.open.called);
assert.ok(service.open.calledOnceWith('foo'));
});

cases([
Expand All @@ -124,6 +124,6 @@ module('Integration | Helper | open-modal', (hooks) => {

await element.click();

assert.ok(service.open.called);
assert.ok(service.open.calledOnceWith('foo'));
});
});

0 comments on commit aa5559f

Please sign in to comment.