vendor/rack/test/spec_rack_mock.rb in relevance-castronaut-0.5.4 vs vendor/rack/test/spec_rack_mock.rb in relevance-castronaut-0.6.0

- old
+ new

@@ -123,10 +123,10 @@ res.should.include "Content-Type" res.headers["Content-Type"].should.equal "text/yaml" res.original_headers["Content-Type"].should.equal "text/yaml" res["Content-Type"].should.equal "text/yaml" res.content_type.should.equal "text/yaml" - res.content_length.should.be.nil + res.content_length.should.be 381 # needs change often. res.location.should.be.nil end specify "should provide access to the HTTP body" do res = Rack::MockRequest.new(app).get("")