()
| 48 | } |
| 49 | |
| 50 | function expectWriteCalls() { |
| 51 | chai.expect(writeSpy.callCount).least(1); |
| 52 | chai.expect(readSpy.notCalled).eql(true); |
| 53 | } |
| 54 | |
| 55 | it('should be able to make a write', async function() { |
| 56 | await expectWriteCalls(await this.User.create({ |