public void Edit_POST_should_update_comment_answer()
        {
            var comment = new Comment
            {
                Id = commentId,
                Reviewer = "mikey",
                Text = "some text",
                Answer = "the answer"
            };

            commentRepsitory.Stub(x => x.GetById(commentId)).Return(comment);

            var commentViewData = new CommentAnswerViewData
            {
                CommentId = commentId,
                Reviewer = "mikey",
                Text = "some text",
                Answer = "the new answer"
            };

            commentAnswerController.Edit(commentViewData)
                .ReturnsRedirectToRouteResult()
                .ToAction("Index")
                .ToController("Reviews");

            comment.Answer.ShouldEqual(commentViewData.Answer);
        }
 public ActionResult Edit(CommentAnswerViewData commentAnswerViewData)
 {
     var comment = commentRepsitory.GetById(commentAnswerViewData.CommentId);
     comment.Answer = commentAnswerViewData.Answer;
     return RedirectToAction("Index", "Reviews");
 }