public void TestIncludeInvokerCannnotInvokeOnWrongSyntax() { var include = new IncludeInvoker(); Assert.IsFalse(include.CanInvoke("{% include nothing %}")); }
public void TestIncludeInvokerCanAddFromTopLevelIncludeDirectory() { var include = new IncludeInvoker(); include.Invoke("{% include test.html %}", Settings.Default(Environment.CurrentDirectory)); }
public void TestIncludeInvokerCanInvokeOnRightSyntax() { var include = new IncludeInvoker(); Assert.IsTrue(include.CanInvoke("{% include test.html %}")); }