spec/response_spec.rb in patron-0.8.0 vs spec/response_spec.rb in patron-0.9.1
- old
+ new
@@ -43,10 +43,10 @@
@session.base_url = "http://localhost:9001"
end
it 'recovers the status code' do
response = @session.get("/repetitiveheader")
- expect(response.status).to be_kind_of(Fixnum)
+ expect(response.status).to be_kind_of(Integer)
expect(response.status).to eq(200)
end
it 'saves the definitive URL in the url attribute' do
headers = "HTTP/1.1 200 OK \r\nContent-Type: text/plain\r\n"