Remove extra parentheses and swapped regex back
This commit is contained in:
parent
54d7ac6e33
commit
240bcccd2f
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue