public void SettingsActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/account/settings/?saveSuccessful=false").To <AccountController>(HttpMethod.Get, x => x.Settings(false)); }
public void OrganisationActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/organisation/").To <HomeController>(HttpMethod.Get, x => x.Organisation()); }
public void FaqActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/faq/").To <HomeController>(HttpMethod.Get, x => x.Faq()); }
public void InstitutionJournalLicenseActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/journals/5/institutionjournallicense/").To <JournalsController>(HttpMethod.Post, x => x.InstitutionJournalLicense(5, null)); }
public void InstitutionJournalPricesActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/journals/5/institutionalprices/").To <JournalsController>(HttpMethod.Get, x => x.InstitutionJournalPrices(null)); }
public void RemovedValuationScoreCardActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/removedvaluationscorecard/").To <AdminController>(HttpMethod.Get, x => x.RemovedValuationScoreCard()); }
public void UpdateActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/update/").To <AdminController>(HttpMethod.Post, x => x.Update(null)); }
public void ChangeEmailActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/changeemail/?saveSuccessful=false").To <AccountController>(HttpMethod.Get, x => x.ChangeEmail(false)); }
public void ChangeEmailActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/changeemail/").To <AccountController>(HttpMethod.Post, x => x.ChangeEmail((ChangeEmailViewModel)null)); }
public void ResetPasswordConfirmedActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/resetpasswordconfirmed/").To <AccountController>(HttpMethod.Post, x => x.ResetPasswordConfirmed((ResetPasswordConfirmedViewModel)null)); }
public void ResetPasswordFailureActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/resetpasswordfailure/").To <AccountController>(HttpMethod.Get, x => x.ResetPasswordFailure()); }
public void LoginActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/login/").To <AccountController>(HttpMethod.Post, x => x.Login((LoginViewModel)null, null)); }
public void ChangePasswordActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/changepassword/").To <AccountController>(HttpMethod.Post, x => x.ChangePassword(null)); }
public void SettingsActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/account/settings/").To <AccountController>(HttpMethod.Post, x => x.Settings(null)); }
public void RemoveBaseScoreCardActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/removebasescorecard/5").To <AdminController>(HttpMethod.Get, x => x.RemoveBaseScoreCard(null)); }
public void LogoutActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/logout/").To <AccountController>(HttpMethod.Get, x => x.Logout()); }
public void RemoveValuationScoreCardPostActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/removevaluationscorecard/7").To <AdminController>(HttpMethod.Post, x => x.RemoveValuationScoreCardPost(null)); }
public void RegisterActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/register/").To <AccountController>(HttpMethod.Post, x => x.Register(null)); }
public void ImportActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/import/").To <AdminController>(HttpMethod.Get, x => x.Import()); }
public void RegistrationPendingActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/registrationpending/").To <AccountController>(HttpMethod.Get, x => x.RegistrationPending()); }
public void UpdatedActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/updated/").To <AdminController>(HttpMethod.Get, x => x.Updated()); }
public void RegisterConfirmationActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/registerconfirmation/abcd/").To <AccountController>(HttpMethod.Get, x => x.RegisterConfirmation(null)); }
public void PublishersActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/journals/publishers/").To <JournalsController>(HttpMethod.Get, x => x.Publishers(null)); }
public void DownloadActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/download/").To <AdminController>(HttpMethod.Get, x => x.Download(null)); }
public void ValuationScoreCardsActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/journals/5/valuationscorecards/").To <JournalsController>(HttpMethod.Get, x => x.ValuationScoreCards(null)); }
public void CheckActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/check/").To <AdminController>(HttpMethod.Get, x => x.Check()); }
public void PressActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/references/").To <HomeController>(HttpMethod.Get, x => x.References()); }
public void MoveScoreCardsActionWithModelRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/admin/movescorecards/").To <AdminController>(HttpMethod.Post, x => x.MoveScoreCards((MoveScoreCardsViewModel)null)); }
public void ContactSentActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/contact/sent/").To <HomeController>(HttpMethod.Get, x => x.ContactSent()); }
public void RegisterSuccessWithLinkActionRoutedToWithCorrectUrlAndVerb() { // Assert ApplicationRoutes.ShouldMap("~/registersuccesswithlink/").To <AccountController>(HttpMethod.Get, x => x.RegisterSuccessWithLink(null)); }