fluentassertions.mvc
fluentassertions.mvc copied to clipboard
Add RedirectToAction assertions with lambda expression to specify controller action
Syntax would look like this:
var result = controller.Action(model);
result.Should().BeRedirectToActionResult<AnotherController>(x => x.AnotherMethod());