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 e3427c3 commit 0fd909eCopy full SHA for 0fd909e
test/protocol/rack/adapter/rack31.rb
@@ -60,6 +60,15 @@
60
end
61
62
63
+
64
+ with "a non-empty body" do
65
+ let(:body) {Protocol::HTTP::Body::Buffered.wrap("Hello World!")}
66
67
+ it "should return an empty body" do
68
+ env = adapter.make_environment(request)
69
+ expect(env).to have_keys(Protocol::Rack::RACK_INPUT)
70
+ end
71
72
73
with "a request that has response finished callbacks" do
74
let(:callback) {->(env, status, headers, error){}}
0 commit comments