Fix failure with HTTPClient.get_content #130

merged 1 commit into from Sep 6, 2011


None yet

2 participants

chrismcg commented Sep 6, 2011

HTTPClient calls r.status in the block in #follow_redirect but WebMock was passing in nil instead of the actual response leading to failure. Passing in response causes the failing test I added to pass and (actually, really this time) works in my app.

@jcf jcf merged commit b1e9953 into bblimke:master Sep 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment