public void IndexViewEqualIndexCshtml() { BoardsController controller = new BoardsController(); ViewResult result = controller.Index() as ViewResult; Assert.AreEqual("Index", result.ViewName); }
public void IndexViewResultNotNull() { BoardsController controller = new BoardsController(); ViewResult result = controller.Index() as ViewResult; Assert.IsNotNull(result); }