Ejemplo n.º 1
0
        public void WhenProcessBundle_ThenBundleContentTypeIsTextJavascript()
        {
            var bundle = new HtmlTemplateBundle("~/");

            pipeline.Process(bundle);

            bundle.ContentType.ShouldEqual("text/javascript");
        }
Ejemplo n.º 2
0
        public void WhenProcessBundle_ThenBundleContentTypeIsTextJavascript()
        {
            var pipeline = new JQueryTmplPipeline();
            var bundle   = new HtmlTemplateBundle("~/");

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

            bundle.ContentType.ShouldEqual("text/javascript");
        }
Ejemplo n.º 3
0
        public void WhenProcessBundle_ThenHashIsAssigned()
        {
            var pipeline = new JQueryTmplPipeline();
            var bundle   = new HtmlTemplateBundle("~");

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

            bundle.Hash.ShouldNotBeNull();
        }