<p><a href="https://github.com/simonpoole" class="user-mention">@simonpoole</a> I don't really want to test against the live gravatar servers, but if you use <code>OSM.http_client</code> for the web queries then you can mock the responses using <code>with_http_stubs</code> as the geocoder tests do.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1036#issuecomment-136473876">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLTt8ygyrBDKU5BOTGP5XqptA5AcZks5otKCrgaJpZM4Ft4-4.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/1036#issuecomment-136473876"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>