test/spec_response.rb in rack-1.5.0.beta.1 vs test/spec_response.rb in rack-1.5.0.beta.2

- old
+ new

@@ -288,22 +288,22 @@ res.body.should.not.be.closed res.status = 204 _, _, b = res.finish res.body.should.be.closed - b.should.not == res.body + b.should.not.equal res.body res.body = StringIO.new res.status = 205 _, _, b = res.finish res.body.should.be.closed - b.should.not == res.body + b.should.not.equal res.body res.body = StringIO.new res.status = 304 _, _, b = res.finish res.body.should.be.closed - b.should.not == res.body + b.should.not.equal res.body end it "wraps the body from #to_ary to prevent infinite loops" do res = Rack::Response.new res.finish.last.should.not.respond_to?(:to_ary)