diff --git a/features/steps.rb b/features/steps.rb index 598bef09..4e6f4863 100644 --- a/features/steps.rb +++ b/features/steps.rb @@ -253,7 +253,7 @@ end Given(/^the SHAs and timestamps are normalized in "([^"]+)"$/) do |file| in_current_dir do contents = File.read(file) - contents.gsub!(/[0-9a-f]{7} \(Hub, \d seconds ago\)/, "SHA1SHA (Hub, 0 seconds ago)") + contents.gsub!(/[0-9a-f]{7} \(Hub, \d seconds? ago\)/, "SHA1SHA (Hub, 0 seconds ago)") File.open(file, "w") { |f| f.write(contents) } end end