Exemplo n.º 1
0
        public void Grid_GridSettingsNotNull_GridMarkup()
        {
            var html = new HtmlHelper(new ViewContext(), new ViewDataContainer());
            var gs = new GridSettings();

            MvcHtmlString grid = html.Grid(gs);

            Assert.AreEqual(gs.ToString(), grid.ToString());
        }
Exemplo n.º 2
0
        public void Grid_GridSettingsNotNull_GridMarkup()
        {
            var html = new HtmlHelper(new ViewContext(), new ViewDataContainer());
            var gs   = new GridSettings();

            MvcHtmlString grid = html.Grid(gs);

            Assert.AreEqual(gs.ToString(), grid.ToString());
        }