diff --git a/fixtures/async/http/a_protocol.rb b/fixtures/async/http/a_protocol.rb index 82e0e1f..6d7654f 100644 --- a/fixtures/async/http/a_protocol.rb +++ b/fixtures/async/http/a_protocol.rb @@ -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 @@ -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