Add RedirectToAction assertions with lambda expression to specify controller action
kevinkuszyk opened this issue · 0 comments
kevinkuszyk commented
Syntax would look like this:
var result = controller.Action(model);
result.Should().BeRedirectToActionResult<AnotherController>(x => x.AnotherMethod());