Closed dylanjha closed 10 years ago
you're using this library? https://github.com/bblimke/webmock
Correct, if that works for your case I'd probably close the issue. I'd expect they'd prefer to see this on stackoverflow than in open issues.
@adambarthelson @dylanjha yeah there's a stackoverflow issue, http://stackoverflow.com/questions/11890336/whats-the-best-way-to-stub-out-network-calls-with-faraday-in-the-balanced-ruby/13021694#13021694
Does this help?
@mahmoudimus thank you, I saw that question. that answer helped but I wasn't sure if there were some other ways/alternatives. I've add this as an answer to that stack overflow question of yours. Thanks.
For finding customers I've just used:
You can stick these in a method to and just pass it emails or parameters that you need for the url, keeping your tests a little cleaner.