test/integration.rb in cuba-3.9.3 vs test/integration.rb in cuba-4.0.0
- old
+ new
@@ -76,11 +76,11 @@
"SCRIPT_NAME" => "/" }
status, headers, resp = Cuba.call(env)
assert_equal 200, status
- assert "text/html; charset=utf-8" == headers["Content-Type"]
+ assert "text/html; charset=utf-8" == headers["content-type"]
assert_response resp, ["2nd Default"]
assert "1" == env["m.first"]
assert "2" == env["m.second"]
assert "3" == env["m.block"]
@@ -107,8 +107,8 @@
"SCRIPT_NAME" => "/" }
status, headers, resp = Cuba.call(env)
assert 200 == status
- assert "text/html; charset=utf-8" == headers["Content-Type"]
+ assert "text/html; charset=utf-8" == headers["content-type"]
assert_response resp, ["Default"]
end