Example #1
0
        public void TestIncludeInvokerCannnotInvokeOnWrongSyntax()
        {
            var include = new IncludeInvoker();

            Assert.IsFalse(include.CanInvoke("{% include nothing %}"));
        }
Example #2
0
        public void TestIncludeInvokerCanAddFromTopLevelIncludeDirectory()
        {
            var include = new IncludeInvoker();

            include.Invoke("{% include test.html %}", Settings.Default(Environment.CurrentDirectory));
        }
Example #3
0
        public void TestIncludeInvokerCanInvokeOnRightSyntax()
        {
            var include = new IncludeInvoker();

            Assert.IsTrue(include.CanInvoke("{% include test.html %}"));
        }