Example #1
0
        public void Edit_ReturnsCorrectActionType_RedirectToActionResult()
        {
            //Arrange
            SpecialtiesController controller = new SpecialtiesController();

            //Act
            IActionResult view = controller.EditPost(1, "Colorist");

            //Assert
            Assert.IsInstanceOfType(view, typeof(RedirectToActionResult));
        }