diff --git a/features/support/header.rb b/features/support/header.rb index 10da76a..739de9a 100644 --- a/features/support/header.rb +++ b/features/support/header.rb @@ -13,6 +13,6 @@ module HeaderUtils # The call 'headers.each(&method(:set_header))' breaks on ruby 2.0.0-p598, which is the # default version on CentOS 7. When that SO updates ruby, this should be reverted to # the more concise syntax. - headers.each { |key, value| method(:set_header).call(key, value) } + headers.each { |key, value| set_header(key, value) } end end -- libgit2 0.21.2