public void Update_ReturnsCorrectView_True() { StylistController controller = new StylistController(); ActionResult updateView = controller.Update(1, "name", "details"); Assert.IsInstanceOfType(updateView, typeof(RedirectToActionResult)); }
public void Update_CorrectView_True() { StylistController controller = new StylistController(); ActionResult updateView = controller.Update(1); Assert.IsInstanceOfType(updateView, typeof(ViewResult)); }