Skip to content

Commit 74720ff

Browse files
authored
Updated README
1 parent ec05a21 commit 74720ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ namespace MyApp.Tests.Controllers
214214
.WithUser("TestUser") // Set an authenticated user to the request.
215215
.WithData(MyTestData.GetData())) // Populate the application DbContext.
216216
.Calling(c => c.Index()) // Act - invoke the action under test.
217-
.ShouldReturn() // Assert the action behaviour.
217+
.ShouldReturn() // Assert action behavior.
218218
.Ok(result => result // Validate the action result type.
219-
.WithModelOfType<List<MyResponseModel>>() // Check the result model type.
219+
.WithModelOfType<List<MyResponseModel>>() // Check the response model type.
220220
.Passing(model => model.Count == 10)); // Assert specific model properties.
221221
}
222222
}

0 commit comments

Comments
 (0)