Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

This fixes an error with WebMock and HTTPClient.get_content #129

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

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 webmock_response causes the failing test I added to pass and works in my app.

@chrismcg chrismcg closed this Sep 6, 2011

Contributor

chrismcg commented Sep 6, 2011

Hrm, just found a bug, it doesn't seem to be calling the block in my get_content call properly, will close till I've figured out what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment