Commit 3c0917e4 authored by Terence Lee's avatar Terence Lee

test for clean_urls since headers aren't explicitly called

parent bc7fd25a
......@@ -2,6 +2,10 @@
"headers": {
"/": {
"Cache-Control": "no-cache"
},
"/foo.html": {
"X-Foo": "true"
}
}
},
"clean_urls": true
}
......@@ -176,6 +176,7 @@ STATIC_JSON
response = app.get("/foo.html")
expect(response["cache-control"]).to eq(nil)
expect(response["X-Foo"]).to eq("true")
expect(response.code).to eq("200")
expect(response.body.chomp).to eq("foo")
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment