public void WhenProcessBundle_ThenBundleContentTypeIsTextJavascript() { var bundle = new HtmlTemplateBundle("~/"); pipeline.Process(bundle); bundle.ContentType.ShouldEqual("text/javascript"); }
public void WhenProcessBundle_ThenBundleContentTypeIsTextJavascript() { var pipeline = new JQueryTmplPipeline(); var bundle = new HtmlTemplateBundle("~/"); pipeline.Process(bundle, new CassetteSettings("")); bundle.ContentType.ShouldEqual("text/javascript"); }
public void WhenProcessBundle_ThenHashIsAssigned() { var pipeline = new JQueryTmplPipeline(); var bundle = new HtmlTemplateBundle("~"); pipeline.Process(bundle, new CassetteSettings("")); bundle.Hash.ShouldNotBeNull(); }