We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c321b89 commit 8672fdfCopy full SHA for 8672fdf
lib/async/http/faraday/adapter.rb
@@ -136,15 +136,13 @@ def call(env)
136
if parallel_manager = env.parallel_manager
137
parallel_manager.async do
138
perform_request(env)
139
-
140
- # Do I need this line?
141
env.response.finish(env)
142
end
143
else
144
145
146
147
- return env.response
+ @app.call(env)
148
149
150
private
test/async/http/faraday/adapter/parallel.rb
@@ -30,7 +30,7 @@
30
adapter.in_parallel do
31
response1 = adapter.get("/index")
32
response2 = adapter.get("/index")
33
- resposne3 = adapter.get("/index")
+ response3 = adapter.get("/index")
34
35
36
expect(response1.body).to be == 'Hello World'
0 commit comments