Add cucumber test for `jekyll.version`.

This commit is contained in:
Parker Moore 2013-08-30 18:59:35 -04:00
parent b7e34175d0
commit 4fafdfccf3
1 changed files with 6 additions and 0 deletions

View File

@ -99,3 +99,9 @@ Feature: Site data
When I run jekyll When I run jekyll
Then the _site directory should exist Then the _site directory should exist
And I should see "http://mysite.com" in "_site/index.html" And I should see "http://mysite.com" in "_site/index.html"
Scenario: Access Jekyll version via jekyll.version
Given I have an "index.html" page that contains "{{ jekyll.version }}"
When I run jekyll
Then the _site directory should exist
And I should see "\d+\.\d+\.\d+" in "_site/index.html"