Skip to content

Commit 678ccef

Browse files
binarycodeioquatix
authored andcommitted
fix specs
1 parent 8ba8188 commit 678ccef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/async/http/faraday/adapter_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
# THE SOFTWARE.
2020

2121
require 'async/http/faraday'
22-
require 'async/http/response'
2322
require 'async/http/server'
24-
require 'async/http/url_endpoint'
23+
require 'async/http/endpoint'
2524
require 'async/reactor'
2625

2726
RSpec.describe Async::HTTP::Faraday::Adapter do
@@ -31,7 +30,7 @@
3130

3231
it "client can get resource" do
3332
app = ->(request) do
34-
Async::HTTP::Response[200, {}, ["Hello World"]]
33+
Protocol::HTTP::Response[200, {}, ["Hello World"]]
3534
end
3635

3736
server = Async::HTTP::Server.new(app, endpoint)

0 commit comments

Comments
 (0)