diff options
Diffstat (limited to 'test/spec_deflater.rb')
-rw-r--r-- | test/spec_deflater.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_deflater.rb b/test/spec_deflater.rb index 4a337cab..a5e91285 100644 --- a/test/spec_deflater.rb +++ b/test/spec_deflater.rb @@ -252,7 +252,7 @@ describe Rack::Deflater do end it 'handle gzip response with Last-Modified header' do - last_modified = Time.at(123).httpdate + last_modified = Time.now.httpdate options = { 'response_headers' => { 'Content-Type' => 'text/plain', |