Skip to content

Commit 5928be7

Browse files
Fix typos in section 1.5 anti pattern example
1 parent 3b86e68 commit 5928be7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ For example, if you want to test what your app behaves reasonably when the payme
334334
it("When a valid product is about to be deleted, ensure data access DAL was called once, with the right product and right config", async () => {
335335
//Assume we already added a product
336336
const dataAccessMock = sinon.mock(DAL);
337-
//hmmm BAD: testing the internals is actually our main goal here, not just a side-effecr
337+
//hmmm BAD: testing the internals is actually our main goal here, not just a side-effect
338338
dataAccessMock.expects("deleteProduct").once().withArgs(DBConfig, theProductWeJustAdded, true, false);
339339
new ProductService().deletePrice(theProductWeJustAdded);
340-
mock.verify();
340+
dataAccessMock.verify();
341341
});
342342
```
343343
<br/>
@@ -1912,4 +1912,4 @@ A5NDY3LDE1OTcyNDA3NzUsMjEwMzQzMDE2NiwtMzc1NjYzODQs
19121912
LTEyODY1MzE2MDAsLTI5NzUwMjYyMyw0MzUxOTU4ODAsMTc2NT
19131913
k2NzEzMCw3OTQ4ODg1MTcsLTE4MDA1NTUwMDYsOTM1MTI0ODc5
19141914
LDc3NTU2MTAxOSwtMjEwMzIxODMzM119
1915-
-->
1915+
-->

0 commit comments

Comments
 (0)