fix strange change to how file contents are checked in aruba
This commit is contained in:
parent
0409c5bcbe
commit
f02713788d
|
@ -69,7 +69,7 @@ end
|
||||||
|
|
||||||
# Provide this Aruba overload in case we're matching something with quotes in it
|
# Provide this Aruba overload in case we're matching something with quotes in it
|
||||||
Then /^the file "([^"]*)" should contain '([^']*)'$/ do |file, partial_content|
|
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
|
end
|
||||||
|
|
||||||
And /the file "(.*)" should be gzipped/ do |file|
|
And /the file "(.*)" should be gzipped/ do |file|
|
||||||
|
|
Loading…
Reference in a new issue