Rendering arbitrary Liquid variables by default (#7414)

Merge pull request 7414
This commit is contained in:
Ashwin Maroli 2020-11-11 18:19:58 +05:30 committed by GitHub
parent 661f0fa1b1
commit eae71e6235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,20 @@ Feature: Rendering
Then I should get a zero exit-status
And I should not see "Liquid Exception:" in the build output
Scenario: Rendering a default site containing a file with a non-existent Liquid variable
Given I have a "index.html" file with content:
"""
---
title: Simple Test
---
{{ site.lorem.ipsum }}
{{ site.title }}
"""
And I have a configuration file with "title" set to "Hello World"
When I run jekyll build
Then I should get a zero exit-status
And the _site directory should exist
Scenario: Rendering a custom site containing a file with a non-existent Liquid variable
Given I have a "index.html" file with content:
"""