Skip to content

Commit 3f7b32f

Browse files
committed
Use updated syntax.
1 parent 8bbf377 commit 3f7b32f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fixtures/async/http/a_protocol.rb

+2-4
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,8 @@ module HTTP
247247
with 'with response' do
248248
let(:response) {client.get("/")}
249249

250-
def after
250+
after do
251251
response.finish
252-
super
253252
end
254253

255254
it "can finish gracefully" do
@@ -299,9 +298,8 @@ def after
299298
with 'POST' do
300299
let(:response) {client.post("/", {}, ["Hello", " ", "World"])}
301300

302-
def after
301+
after do
303302
response.finish
304-
super
305303
end
306304

307305
it "is successful" do

0 commit comments

Comments
 (0)