Adding a scenario for config values available in the site payload. Closes #15

This commit is contained in:
Nick Quaranto 2009-06-24 08:33:32 -04:00
parent 05e8deae8d
commit ec637a13e9
1 changed files with 7 additions and 1 deletions

View File

@ -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"