spec/mongrel2/httpresponse_spec.rb in mongrel2-0.40.0 vs spec/mongrel2/httpresponse_spec.rb in mongrel2-0.41.0

- old
+ new

@@ -83,10 +83,10 @@ @response.reset expect( @response ).to_not be_handled() expect( @response.body ).to be_a( StringIO ) expect( @response.body.size ).to eq( 0 ) - expect( @response.headers ).to have(1).keys + expect( @response.headers.size ).to eq( 1 ) end it "sets its status line to 200 OK if the body is set and the status hasn't yet been set" do @response << "Some stuff" expect( @response.status_line ).to eq( 'HTTP/1.1 200 OK' )