Permalink
Browse files

Fixed one more Ruby 1.9 hash in tests.

  • Loading branch information...
1 parent fd9739f commit 3465d3fa7b2b8aec7f2b906a9de9f6983961493b @jakubpawlowicz committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/spec_deflater.rb
@@ -249,7 +249,7 @@ class << body; def each; yield("foo"); yield("bar"); end; end
[200, {'Content-Type' => 'text/plain', 'Content-Length' => body.length.to_s }, [body]]
end
request = Rack::MockRequest.env_for("", "HTTP_ACCEPT_ENCODING" => "gzip")
- response = deflater(app, { exclude: /^\/$/ }).call(request)
+ response = deflater(app, { "exclude" => /^\/$/ }).call(request)
response[0].should.equal(200)
Enumerator.new(response[2]).to_a.join.should.equal("Hello World!")

0 comments on commit 3465d3f

Please sign in to comment.