diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-07-24 21:02:29 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-07-24 21:02:29 -0400 |
commit | a944effcf8525e62d972778dc6fccaf680ea2669 (patch) | |
tree | f0c0e1f73fee181336b6c203edd2c2cda59d0f99 | |
parent | 9899d3ad3ccb9365186d969141a606eae015dd9f (diff) | |
download | rack-a944effcf8525e62d972778dc6fccaf680ea2669.tar.gz |
Fix test of JRuby
-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', |