public void RedirectToActionWithParams() { var controller = new SmartTest2Controller(); PrepareController(controller); controller.RedirectToAction(c => c.ActionWithParams(1, "one")); Assert.AreEqual("/SmartTest2/ActionWithParams.rails?something=1&somethingElse=one&", Response.RedirectedTo); }