Пример #1
0
        public void GivenApplicationInProduction_WhenRender_ThenLinkElementReturnedWithBundleUrlAsHref()
        {
            settings.IsDebuggingEnabled = false;

            var html = renderer.Render(bundle);

            html.ShouldEqual("<link href=\"http://test.com/\" type=\"text/css\" rel=\"stylesheet\"/>");
        }
Пример #2
0
 internal override string Render()
 {
     return(externalHtmlRender.Render(this));
 }