public void Default_GamePageShouldMapTo_GameControllerWithAction(string action) { RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/" + action, new { controller = "Game", action }); }
public void GameDownload_GamePageShouldMapTo_GameControllerByKeyWithActionComments() { RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/1/download", new { controller = "Game", action = "Download", gamekey = "1" }); }
public void Default_GamePageByKeyShouldMapTo_GameControllerWithActionByKey(string action) { RouteTestHelpers.AssertIsRouteOf(_routes, "~/Game/" + action + "/1", new { controller = "Game", action, key = "1" }); }