mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
fix strange change to how file contents are checked in aruba
This commit is contained in:
parent
0409c5bcbe
commit
f02713788d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ end
|
|||
|
||||
# Provide this Aruba overload in case we're matching something with quotes in it
|
||||
Then /^the file "([^"]*)" should contain '([^']*)'$/ do |file, partial_content|
|
||||
check_file_content(file, partial_content, true)
|
||||
check_file_content(file, Regexp.new(Regexp.escape(partial_content)), true)
|
||||
end
|
||||
|
||||
And /the file "(.*)" should be gzipped/ do |file|
|
||||
|
|
Loading…
Reference in a new issue