public void TestWithName() { MvcApprovals.VerifyMvcPage(new CoolController().TestName); }
public void TestMvcPage() { MvcApprovals.VerifyMvcPage <TestableExampleController>(c => c.TestToken); }
public void TestingSomeMvcView() { //AspApprovals.VerifyUrlViaPost("http://localhost:11624/Cool/Index"); MvcApprovals.VerifyMvcPage(new CoolController().Index); }
public void IndexView() { PortFactory.MvcPort = 49300; MvcApprovals.VerifyMvcPage <TestableHomeController>(home => home.TestIndex, CustomMvcScrubbers.CopyrightScrubber); }
public void TestErrorMessage() { MvcApprovals.VerifyMvcPage <TestableWithInvalidPathController>(t => t.IndexTest); }
public void TestImproperlyNamedConroller() { MvcApprovals.VerifyMvcPage <ThisDoesNotHaveTheControllerAtTheEnd>(c => c.TestIndex); }
public void TestMvcPage() { MvcApprovals.VerifyMvcPage <TestableExampleController>(c => c.TestName, PathScrubbers.ScrubPath()); }
public void TestMvcPage() { MvcApprovals.VerifyMvcPage <TestableNonExplicitController>(c => c.TestIndex); }
public void TestLogin() { PortFactory.MvcPort = 49264; MvcApprovals.VerifyMvcPage <TestableAccountController>(account => account.TestLogin, CustomMvcScrubbers.CopyrightScrubber); }
public void TestIndexView() { MvcApprovals.VerifyMvcPage(new IceCreamFreezerController().Index); }
public void TestSimpleView() { MvcApprovals.VerifyMvcPage(new IceCreamFreezerController().SimpleView); }
public void ContactView() { PortFactory.MvcPort = 49264; MvcApprovals.VerifyMvcPage <TestableHomeController>(home => home.TestContact, CustomMvcScrubbers.CopyrightScrubber); }