From 53dec6a4f66193ebf3107c4a30f053deb168e42e Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Thu, 13 Jun 2013 18:28:03 +0200 Subject: [PATCH] add single-quote cucumber testing --- features/include_tag.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/include_tag.feature b/features/include_tag.feature index 6dc3bf49..617c8718 100644 --- a/features/include_tag.feature +++ b/features/include_tag.feature @@ -15,7 +15,7 @@ Feature: Include tags | Ignore params if unused | 2013-03-21 | default | {% include ignore.html date="today" %} | | List multiple parameters | 2013-03-21 | default | {% include params.html date="today" start="tomorrow" %} | | Dont keep parameters | 2013-03-21 | default | {% include ignore.html param="test" %}\n{% include header.html %} | - | Allow params with spaces and quotes | 2013-04-07 | default | {% include params.html cool="param with spaces" super="\"quoted\"" %} | + | Allow params with spaces and quotes | 2013-04-07 | default | {% include params.html cool="param with spaces" super="\"quoted\"" single='has "quotes"' escaped='\'single\' quotes' %} | | Parameter syntax | 2013-04-12 | default | {% include params.html param1_or_2="value" %} | When I run jekyll Then the _site directory should exist @@ -27,4 +27,6 @@ Feature: Include tags But I should see "
My awesome blog header:
" in "_site/2013/03/21/dont-keep-parameters.html" And I should see "
  • cool = param with spaces
  • " in "_site/2013/04/07/allow-params-with-spaces-and-quotes.html" And I should see "
  • super = “quoted”
  • " in "_site/2013/04/07/allow-params-with-spaces-and-quotes.html" + And I should see "
  • single = has “quotes”
  • " in "_site/2013/04/07/allow-params-with-spaces-and-quotes.html" + And I should see "
  • escaped = ‘single’ quotes
  • " in "_site/2013/04/07/allow-params-with-spaces-and-quotes.html" And I should see "
  • param1_or_2 = value
  • " in "_site/2013/04/12/parameter-syntax.html"