Closed hyuraku closed 2 years ago
Thank you for addressing all the comments @hyuraku 🙌! Are you planning to add unit tests as well as I mentioned above?
Do you also think you could add some test coverage to check the warnings are correctly output when the skip is disabled?
@iMacTia
check the warnings are correctly output when the skip is disabled?
I want to add the test when the skip is disabled? to spec/faraday/connection_spec.rb
.
Or better, a generic test around the Faraday::Deprecate#deprecate
method 👍!
If we know that works as expected (e.g. with an anonymous class defined in the specs), we don't need to test it everywhere we use it
@iMacTia
I added the spec for Faraday::Deprecate#deprecate
; could you review this PR?
All tests pass locally ✅ 🎉
Thank you both!
Description
add Faraday#Deprecate to hide deprecate method's warning message
Fixes https://github.com/lostisland/faraday/issues/1410
Todos
List any remaining work that needs to be done, i.e:
Additional Notes