Rename MemoryIO to IO::Memory since it's deprecated on Crystal 0.20.0

This commit is contained in:
sdogruyol 2016-11-22 23:29:10 +03:00
parent 733582f724
commit 6b034c3b2f
8 changed files with 18 additions and 18 deletions

View file

@ -62,7 +62,7 @@ describe "Kemal::Middleware::CSRF" do
end
def process_request(handler, request)
io = MemoryIO.new
io = IO::Memory.new
response = HTTP::Server::Response.new(io)
context = HTTP::Server::Context.new(request, response)
handler.call(context)