rubygems/rubygems.org — pull request #485 by mildmojo (2012-11-04 03:41:04+00:00)
Title: Fixes tests: resets current directory in gemcutter After block.

The Before was making a temp directory and chdir'ing into it and the
After was removing the temp directory, but it never changed back
out of the (now missing) temp directory. Subsequent tests failed
in the C `getcwd` function because CWD no longer existed.

Fixed with @jaredonline. Issue on branch #463.