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 over 1 year ago
Did this page help you?
