From 4fafdfccf3a974fdcb4574bd65210833ab9a08e6 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 30 Aug 2013 18:59:35 -0400 Subject: [PATCH] Add cucumber test for `jekyll.version`. --- features/site_data.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/site_data.feature b/features/site_data.feature index ccb349c6..9ab94056 100644 --- a/features/site_data.feature +++ b/features/site_data.feature @@ -99,3 +99,9 @@ Feature: Site data When I run jekyll Then the _site directory should exist 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"