Skip to content

Commit 029b26a

Browse files
authored
Fixed typos in chapter_21_mocking_2.asciidoc
1 parent 750a121 commit 029b26a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter_21_mocking_2.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ we want to check we are using the Django auth library:
12141214
====
12151215
// CSANAD: I think the `diff` style snippets are better for renaming things.
12161216

1217-
And we're down to 17 tests:
1217+
And we're down to 18 tests:
12181218

12191219
[subs="specialcharacters,quotes"]
12201220
----
@@ -1585,7 +1585,7 @@ Using mock.return_value::
15851585
and thus check on how it gets used later in your code;
15861586
this usually happens in the "assert" or "then" part of your test.
15871587
Alternatively, you can _assign_ to it,
1588-
usally up-front in the "arrange" or "given" part of your test,
1588+
usually up-front in the "arrange" or "given" part of your test,
15891589
as a way of saying
15901590
"I want this mocked-out function to return a particular value".
15911591

0 commit comments

Comments
 (0)