We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fc6d8 commit bd5f65aCopy full SHA for bd5f65a
spec/resource.spec.js
@@ -88,16 +88,14 @@ describe('Resource', function () {
88
firstName: 'john',
89
lastName: 'doe',
90
email: 'john.doe@softwarebrothers.co',
91
- createdAt: '2019-01-05',
92
})
93
await this.resource.create({
94
firstName: 'andrew',
95
lastName: 'golota',
96
email: 'andrew.golota@softwarebrothers.co',
97
- createdAt: '2019-01-09',
98
99
const filter = new Filter({
100
- 'createdAt~~to': '2019-01-25', 'createdAt~~from': '2019-01-09',
+ email: 'andrew.golota@softwarebrothers.co',
101
}, this.resource)
102
expect(await this.resource.count(filter)).to.equal(1)
103
0 commit comments