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 ec05a21 commit 74720ffCopy full SHA for 74720ff
README.md
@@ -214,9 +214,9 @@ namespace MyApp.Tests.Controllers
214
.WithUser("TestUser") // Set an authenticated user to the request.
215
.WithData(MyTestData.GetData())) // Populate the application DbContext.
216
.Calling(c => c.Index()) // Act - invoke the action under test.
217
- .ShouldReturn() // Assert the action behaviour.
+ .ShouldReturn() // Assert action behavior.
218
.Ok(result => result // Validate the action result type.
219
- .WithModelOfType<List<MyResponseModel>>() // Check the result model type.
+ .WithModelOfType<List<MyResponseModel>>() // Check the response model type.
220
.Passing(model => model.Count == 10)); // Assert specific model properties.
221
}
222
0 commit comments