Exemple #1
0
        public void AddHtmlBundle_DefaultSettings_Success()
        {
            var pipeline = new AssetPipeline();
            var asset    = pipeline.AddHtmlBundle("/foo.html", "file1.html", "file2.html");

            Assert.Equal("/foo.html", asset.Route);
            Assert.Equal("text/html; charset=UTF-8", asset.ContentType);
            Assert.Equal(2, asset.SourceFiles.Count());
            Assert.Equal(3, asset.Processors.Count);
        }