spec/endpoint_spec.rb in rasti-web-0.0.2 vs spec/endpoint_spec.rb in rasti-web-0.0.3
- old
+ new
@@ -13,10 +13,10 @@
env = Rack::MockRequest.env_for '/'
status, headers, response = endpoint.call env
status.must_equal 200
- headers['Content-Type'].must_equal 'text/plain'
+ headers['Content-Type'].must_equal 'text/plain; charset=utf-8'
response.body.must_equal ['Content']
end
end
\ No newline at end of file