Create a hosted rubygems repo
Create a proxy of this hosted repo
Deploy a gem to the hosted repo
gem sources -c on the client to clear caches
Fetch the specs file from the proxy, ie. via search
= no results
but if you hit the hosted as well, the new gem is found, proving the gem specs file was updated:
Expected: proxy should get the updated specs file on cache expiration and report deployed gem as available.