add proxies
This commit is contained in:
@@ -6,7 +6,12 @@ RSpec.describe Scraper::SofurryHttpClientConfig do
|
||||
|
||||
describe "#map_response" do
|
||||
let(:base_response_attrs) do
|
||||
{ response_code: 200, response_time_ms: 100, body: "body" }
|
||||
{
|
||||
response_code: 200,
|
||||
response_time_ms: 100,
|
||||
body: "body",
|
||||
performed_by: "direct",
|
||||
}
|
||||
end
|
||||
|
||||
context "with a response from an API host" do
|
||||
|
||||
@@ -55,6 +55,7 @@ class SpecUtil
|
||||
response_headers: response_headers,
|
||||
response_time_ms: response_time_ms,
|
||||
body: response_body,
|
||||
performed_by: "direct",
|
||||
),
|
||||
)
|
||||
mock
|
||||
|
||||
Reference in New Issue
Block a user