public void WhenProcess_ThenItAssignsInlineHtmlTemplateBundleRenderer()
        {
            var bundle   = new HtmlTemplateBundle("~");
            var pipeline = new HtmlTemplatePipeline();

            pipeline.Process(bundle, new CassetteSettings(""));

            bundle.Renderer.ShouldBeType <InlineHtmlTemplateBundleRenderer>();
        }
Beispiel #2
0
        public void WhenProcessBundle_ThenHashIsAssigned()
        {
            var pipeline = new HtmlTemplatePipeline();
            var bundle   = new HtmlTemplateBundle("~");

            pipeline.Process(bundle, new CassetteSettings(""));

            bundle.Hash.ShouldNotBeNull();
        }
Beispiel #3
0
        public void WhenProcess_ThenItAssignsInlineHtmlTemplateBundleRenderer()
        {
            pipeline.Process(bundle);

            bundle.Renderer.ShouldBeType <InlineHtmlTemplateBundleRenderer>();
        }