Skip to content

Commit f2d002c

Browse files
committed
Fix usage of wrap.
1 parent c339df1 commit f2d002c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/protocol/rack/adapter/generic.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
require_relative "../constants"
99
require_relative "../input"
1010
require_relative "../response"
11+
require_relative "../rewindable"
1112

1213
module Protocol
1314
module Rack

test/protocol/rack/adapter/generic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
include Sus::Fixtures::Console::CapturedLogger
1313

1414
let(:app) {->(env){[200, {}, []]}}
15-
let(:adapter) {subject.wrap(app)}
15+
let(:adapter) {subject.new(app)}
1616

1717
it "can instantiate an adapter" do
1818
expect(adapter).not.to be_nil

0 commit comments

Comments
 (0)