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