Skip to content

Commit

Permalink
Use updated syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jul 28, 2024
1 parent 8bbf377 commit 3f7b32f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fixtures/async/http/a_protocol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,8 @@ module HTTP
with 'with response' do
let(:response) {client.get("/")}

def after
after do
response.finish
super
end

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

def after
after do
response.finish
super
end

it "is successful" do
Expand Down

0 comments on commit 3f7b32f

Please sign in to comment.