File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/protocol/rack/adapter Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,9 @@ def call(request)
9090 raise ArgumentError , "Headers must not be nil!"
9191 end
9292
93- unless body . respond_to? ( :each )
94- raise ArgumentError , "Body must respond to #each!"
95- end
93+ # unless body.respond_to?(:each)
94+ # raise ArgumentError, "Body must respond to #each!"
95+ # end
9696
9797 headers , meta = self . wrap_headers ( headers )
9898
Original file line number Diff line number Diff line change 112112 let ( :response ) { client . get ( "/" ) }
113113
114114 it "can read streaming response" do
115- skip "Streaming response not supported"
115+ skip "Streaming response not supported" if Protocol :: Rack :: Adapter :: VERSION < "2"
116116
117117 expect ( response . read ) . to be == "Hello Streaming World"
118118 end
You can’t perform that action at this time.
0 commit comments