Remove extra parentheses and swapped regex back

This commit is contained in:
John Piasetzki 2013-05-25 16:32:36 -04:00
parent 54d7ac6e33
commit 240bcccd2f
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ Given /^I have an? "(.*)" file that contains "(.*)"$/ do |file, text|
end end
end end
Given /^I have an? (.*) (layout|theme) that contains "([^"]+)"$/ do |name, type, text| Given /^I have an? (.*) (layout|theme) that contains "(.*)"$/ do |name, type, text|
folder = if (type == 'layout') folder = if type == 'layout'
'_layouts' '_layouts'
else else
'_theme' '_theme'