Example #1
0
        public void CanChangeNamedBundleToDebug()
        {
            javaScriptBundle
            .Add(Test1Path)
            .Add(Test2Path)
            .AsNamed("ChangedToDebug", currentOutputFile);

            var tag = javaScriptBundle2.GetNamed("ChangedToDebug").ForceDebug().RenderNamed("ChangedToDebug");

            Assert.AreEqual("<script type=\"text/javascript\" src=\"" + Test1Path + "\"></script>\n<script type=\"text/javascript\" src=\"" + Test2Path + "\"></script>\n", tag);
        }