Skip to content

Commit

Permalink
Fix intermediate unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesboeufs committed Aug 4, 2016
1 parent f13c371 commit 53b24ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ describe('helpers', function () {
it('should inject departement item', function () {
expect(formatOne(
{
db: { departements: { queryByCode: code => [{ code, nom: 'foo' }] } },
db: { departements: { search: criteria => [{ code: criteria.code, nom: 'foo' }] } },
query: {},
fields: new Set(['a', 'departement']),
},
Expand All @@ -237,7 +237,7 @@ describe('helpers', function () {
it('should inject region item', function () {
expect(formatOne(
{
db: { regions: { queryByCode: code => [{ code, nom: 'foo' }] } },
db: { regions: { search: criteria => [{ code: criteria.code, nom: 'foo' }] } },
query: {},
fields: new Set(['a', 'region']),
},
Expand Down

0 comments on commit 53b24ef

Please sign in to comment.