public async Task Home_ReturnsViewResult_WithRecenttlyAddedAndCloseTodos() { var result = await _todosController.Home(); var viewResult = Assert.IsType <ViewResult>(result); Assert.IsAssignableFrom <HomeViewModel>(viewResult.ViewData.Model); }
public async Task Home_ReturnsViewResult_WithRecenttlyAddedAndCloseTodos() { var result = await _todosController.Home(); var viewResult = Assert.IsType <ViewResult>(result); Assert.IsAssignableFrom <HomeViewModel>(viewResult.ViewData.Model); }