Child Actions
If you want to check that the action being called has the ChildActionOnly attribute then use WithCallToChild rather than WithCallTo:
_controller.WithCallToChild(c => c.Index()).ShouldRenderDefaultView();Updated 9 months ago
If you want to check that the action being called has the ChildActionOnly attribute then use WithCallToChild rather than WithCallTo:
_controller.WithCallToChild(c => c.Index()).ShouldRenderDefaultView();Updated 9 months ago