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
|
||||||
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'
|
||||||
|
|
Loading…
Reference in New Issue