public void WhenProcess_ThenItAssignsInlineHtmlTemplateBundleRenderer() { var bundle = new HtmlTemplateBundle("~"); var pipeline = new HtmlTemplatePipeline(); pipeline.Process(bundle, new CassetteSettings("")); bundle.Renderer.ShouldBeType <InlineHtmlTemplateBundleRenderer>(); }
public void WhenProcessBundle_ThenHashIsAssigned() { var pipeline = new HtmlTemplatePipeline(); var bundle = new HtmlTemplateBundle("~"); pipeline.Process(bundle, new CassetteSettings("")); bundle.Hash.ShouldNotBeNull(); }
public void WhenProcess_ThenItAssignsInlineHtmlTemplateBundleRenderer() { pipeline.Process(bundle); bundle.Renderer.ShouldBeType <InlineHtmlTemplateBundleRenderer>(); }