From 240bcccd2f705a1a37c6fa4bb12380b4499f8d7a Mon Sep 17 00:00:00 2001 From: John Piasetzki Date: Sat, 25 May 2013 16:32:36 -0400 Subject: [PATCH] Remove extra parentheses and swapped regex back --- features/step_definitions/jekyll_steps.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/step_definitions/jekyll_steps.rb b/features/step_definitions/jekyll_steps.rb index ec780d8b..3ca8088b 100644 --- a/features/step_definitions/jekyll_steps.rb +++ b/features/step_definitions/jekyll_steps.rb @@ -31,8 +31,8 @@ Given /^I have an? "(.*)" file that contains "(.*)"$/ do |file, text| end end -Given /^I have an? (.*) (layout|theme) that contains "([^"]+)"$/ do |name, type, text| - folder = if (type == 'layout') +Given /^I have an? (.*) (layout|theme) that contains "(.*)"$/ do |name, type, text| + folder = if type == 'layout' '_layouts' else '_theme'