Groups
Groups
Sign in
Groups
Groups
http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API
Conversations
About
Send feedback
Help
Testing best practices
29 views
Skip to first unread message
Juan David Zuluaga Zapata
unread,
Jun 8, 2018, 11:41:56 AM
6/8/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API
Does anybody have any best practices around testing? It seems like `webmock` doesn't support this library, so things like `VCR` won't work either.
Thanks in advance, love this gem!
Tony Arcieri
unread,
Jun 8, 2018, 11:47:38 AM
6/8/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to juanz...@gmail.com, http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API
There's a webmock adapter for it:
https://github.com/bblimke/webmock/tree/master/lib/webmock/http_lib_adapters/http_rb
Occasionally it breaks though. It'd be nice if there were a less brittle way for Webmock to interact with it.
--
Tony Arcieri
Reply all
Reply to author
Forward
0 new messages