summary refs log tree commit
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-07-24 21:02:29 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-07-24 21:02:29 -0400
commita944effcf8525e62d972778dc6fccaf680ea2669 (patch)
treef0c0e1f73fee181336b6c203edd2c2cda59d0f99
parent9899d3ad3ccb9365186d969141a606eae015dd9f (diff)
downloadrack-a944effcf8525e62d972778dc6fccaf680ea2669.tar.gz
Fix test of JRuby
-rw-r--r--test/spec_deflater.rb2
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',