Exemple #1
0
        public void It_Renders_View_Using_View_Path()
        {
            var spark = new SparkTest();
            var view = new StringBuilder();

            spark.ViewPath().Each(str => view.Append(str));

            Assert.AreEqual("<h1>Hello, ViewPath!</h1>", view.ToString());
        }
Exemple #2
0
        public void It_Renders_View_Using_View_Path()
        {
            var spark = new SparkTest();
            var view  = new StringBuilder();

            spark.ViewPath().Each(str => view.Append(str));

            Assert.AreEqual("<h1>Hello, ViewPath!</h1>", view.ToString());
        }