With the code below, the output is "Date is: ". Why? If I start the
server and `curl` the URL, I get headers that include Last-Modified,
yet I cannot retreive them from within the integration tests. What am
I doing wrong?
require File.dirname(__FILE__) + '/../test_helper'
class CacheTest < ActionController::IntegrationTest
date = headers['Last-Modified']
puts 'Date is: ' + date.inspect