public void Should_Load_Javascript_Modules_Successfully()
        {
            var command = new GetMainJsDataCommand(Container.Resolve<IRenderingService>(), Container.Resolve<ICmsConfiguration>());
            var model = command.Execute();

            CheckIfJavascriptModulesAreLoaded(model.JavaScriptModules);
        }
Example #2
0
        public void Should_Load_Javascript_Modules_Successfully()
        {
            var command = new GetMainJsDataCommand(Container.Resolve <IRenderingService>(), Container.Resolve <ICmsConfiguration>());
            var model   = command.Execute();

            CheckIfJavascriptModulesAreLoaded(model.JavaScriptModules);
        }