Http Status Codes
_controller.WithCallTo(c => c.Index()).ShouldGiveHttpStatus();
_controller.WithCallTo(c => c.Index()).ShouldGiveHttpStatus(404);Updated over 1 year ago
Did this page help you?
_controller.WithCallTo(c => c.Index()).ShouldGiveHttpStatus();
_controller.WithCallTo(c => c.Index()).ShouldGiveHttpStatus(404);Updated over 1 year ago