Added return_with macro to break response in the middle of the block.

This commit is contained in:
Fatih Kadir Akın 2016-03-30 00:48:58 +03:00
parent 7b1bc43a41
commit 8110788a41
3 changed files with 41 additions and 0 deletions

View file

@ -155,4 +155,5 @@ describe "Kemal::RouteHandler" do
client_response.status_code.should eq(302)
client_response.headers.has_key?("Location").should eq(true)
end
end