Value for 'Expires' header needs to be a string
This commit is contained in:
@@ -71,7 +71,7 @@ describe "Directories" do
|
||||
get "/jimmy/tasks/"
|
||||
|
||||
last_response.status.must_equal 200
|
||||
last_response.headers["Expires"].must_equal 0
|
||||
last_response.headers["Expires"].must_equal "0"
|
||||
end
|
||||
|
||||
context "when If-None-Match header is set" do
|
||||
|
||||
@@ -40,7 +40,7 @@ describe "App with Riak backend" do
|
||||
|
||||
it "has caching headers set" do
|
||||
last_response.status.must_equal 200
|
||||
last_response.headers["Expires"].must_equal 0
|
||||
last_response.headers["Expires"].must_equal "0"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user