public void Update_ReturnsCorrectView_True()
        {
            StylistController controller = new StylistController();
            ActionResult      updateView = controller.Update(1, "name", "details");

            Assert.IsInstanceOfType(updateView, typeof(RedirectToActionResult));
        }
Пример #2
0
        public void Update_CorrectView_True()
        {
            StylistController controller = new StylistController();
            ActionResult      updateView = controller.Update(1);

            Assert.IsInstanceOfType(updateView, typeof(ViewResult));
        }