Commit 019699d200897d102fa258079cac72ede8a58027

Authored by Rafael Reggiani Manzo
2 parents 63624816 fbbd28b1
Exists in colab

Merge pull request #355 from mezuro/fix_backwards_compatibility

Fix backwards compatibility
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
features/support/header.rb
@@ -13,6 +13,6 @@ module HeaderUtils @@ -13,6 +13,6 @@ module HeaderUtils
13 # The call 'headers.each(&method(:set_header))' breaks on ruby 2.0.0-p598, which is the 13 # The call 'headers.each(&method(:set_header))' breaks on ruby 2.0.0-p598, which is the
14 # default version on CentOS 7. When that SO updates ruby, this should be reverted to 14 # default version on CentOS 7. When that SO updates ruby, this should be reverted to
15 # the more concise syntax. 15 # the more concise syntax.
16 - headers.each { |key, value| method(:set_header).call(key, value) } 16 + headers.each { |key, value| set_header(key, value) }
17 end 17 end
18 end 18 end