fluentassertions.mvc icon indicating copy to clipboard operation
fluentassertions.mvc copied to clipboard

Add RedirectToAction assertions with lambda expression to specify controller action

Open kevinkuszyk opened this issue 12 years ago • 0 comments

Syntax would look like this:

var result = controller.Action(model);

result.Should().BeRedirectToActionResult<AnotherController>(x => x.AnotherMethod());

kevinkuszyk avatar Feb 08 '13 22:02 kevinkuszyk