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