From fbbd28b1ef7a06424730da1f4789a228aacff4f4 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Araújo Date: Thu, 19 May 2016 15:47:40 -0300 Subject: [PATCH] Call `set_header` directly instead of using `call` --- features/support/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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