Adding a scenario for config values available in the site payload. Closes #15
This commit is contained in:
parent
05e8deae8d
commit
ec637a13e9
|
@ -74,3 +74,9 @@ Feature: Site data
|
||||||
Then the _site directory should exist
|
Then the _site directory should exist
|
||||||
And I should see "last:C, C:B,last B:A,C A:first,B first:,A" in "_site/index.html"
|
And I should see "last:C, C:B,last B:A,C A:first,B first:,A" in "_site/index.html"
|
||||||
|
|
||||||
|
Scenario: Use configuration date in site payload
|
||||||
|
Given I have an "index.html" page that contains "{{ site.url }}"
|
||||||
|
And I have a configuration file with "url" set to "http://mysite.com"
|
||||||
|
When I run jekyll
|
||||||
|
Then the _site directory should exist
|
||||||
|
And I should see "http://mysite.com" in "_site/index.html"
|
||||||
|
|
Loading…
Reference in New Issue