fix strange change to how file contents are checked in aruba

This commit is contained in:
Thomas Reynolds 2015-01-15 09:56:28 +00:00
parent 0409c5bcbe
commit f02713788d

View file

@ -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|