public void Should_be_able_to_allow_html() { builder.AllowHtml(); var configurator = (IModelMetadataItemConfigurator)builder; var item = new ModelMetadataItem(); configurator.Configure(item); Assert.False(item.RequestValidationEnabled.Value); }
public void Should_be_able_to_allow_html() { builder.AllowHtml(); Assert.False(item.RequestValidationEnabled.Value); }