defunkt/fakefs — pull request #111 by nerdrew (2011-12-02 04:43:03+00:00)
Title: Fix Dir.glob: return relative paths when necessary

Closes #98

FileUtils.touch '/path/foo'
Dir.chdir '/path'
Dir.pwd #= '/path'
Dir['foo'] #= ['foo'] != ['/path/foo']

Includes updated test