public void ImageLinksProduceCorrectHtml() { TestHelper.AssertHtml <ASP._Views_Tests_Images_cshtml>("test-image-links", @"<a href=""http://www.google.com""><img src=""http://placehold.it/64x64"" alt=""Alt""></a>"); }
public void PlaceholderProducesCorrectHtml() { TestHelper.AssertHtml <ASP._Views_Tests_Images_cshtml>("test-placeholder", @"<a href=""http://www.google.com""><img alt=""This is my placeholder"" src=""http://placehold.it/200x40/800000/CC0000&text=Placeholder!""></a>"); }
public void ImagesProduceCorrectHtml() { TestHelper.AssertHtml <ASP._Views_Tests_Images_cshtml>("test-images", @"<img src=""http://placehold.it/64x64""> <img src=""http://placehold.it/64x64"" alt=""With Alt"">"); }