Fixes tests: resets current directory in gemcutter After block. #485

Merged
merged 1 commit into from Nov 4, 2012

2 participants

@mildmojo

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.

@mildmojo mildmojo 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.
d1ec016
@cmeiklejohn cmeiklejohn merged commit c4f9f07 into rubygems:subscription_steps Nov 4, 2012
@cmeiklejohn

👍

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