mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
remove ruby 2.7 deprecation
spec/faraday/response/logger_spec.rb:73: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call lib/faraday/logging/formatter.rb:13: warning: The called method 'initialize' is defined here
This commit is contained in:
parent
61d466df87
commit
df5fc690df
@ -69,10 +69,6 @@ RSpec.describe Faraday::Response::Logger do
|
||||
context 'with custom formatter' do
|
||||
let(:formatter_class) do
|
||||
Class.new(Faraday::Logging::Formatter) do
|
||||
def initialize(*args)
|
||||
super
|
||||
end
|
||||
|
||||
def request(_env)
|
||||
info 'Custom log formatter request'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user