Fix the build.

This commit is contained in:
Guo Xiang Tan 2017-11-27 10:53:05 +08:00
parent a7030e80bf
commit 2e04ef97d9
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ describe Hijack do
render plain: "hello world"
end
result = "HTTP/1.1 200 OK\r\nContent-Length: 11\r\nContent-Type: text/plain\r\nConnection: close\r\n\r\nhello world"
result = "HTTP/1.1 200 OK\r\nContent-Length: 11\r\nContent-Type: text/plain; charset=utf-8\r\nConnection: close\r\n\r\nhello world"
expect(tester.io.string).to eq(result)
end