From ec637a13e9f54a438b023c746c82a2895138f0a3 Mon Sep 17 00:00:00 2001 From: Nick Quaranto Date: Wed, 24 Jun 2009 08:33:32 -0400 Subject: [PATCH] Adding a scenario for config values available in the site payload. Closes #15 --- features/site_data.feature | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/features/site_data.feature b/features/site_data.feature index aada7213..0a0b1a7e 100644 --- a/features/site_data.feature +++ b/features/site_data.feature @@ -73,4 +73,10 @@ Feature: Site data When I run jekyll 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" - \ No newline at end of file + + 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"