public void Index_POST_Should_Accept_HttpPost_Only() { // Arrange SettingsViewModel model = new SettingsViewModel(); // Act ViewResult result = _settingsController.Index(model) as ViewResult; // Assert _settingsController.AssertHttpPostOnly(x => x.Index(model)); }
public void index_post_should_accept_httppost_only() { // Arrange SettingsViewModel model = new SettingsViewModel(); // Act ViewResult result = _settingsController.Index(model) as ViewResult; // Assert _settingsController.AssertHttpPostOnly(x => x.Index(model)); }