Skip to content

Commit

Permalink
Added dir.pwd test to test_chdir_changes_directories_like_a_boss
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmiani committed Dec 11, 2009
1 parent 5d2a4f9 commit 05a9ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fakefs_test.rb
Expand Up @@ -548,6 +548,7 @@ def test_chdir_changes_directories_like_a_boss
File.open('foobar', 'w') { |f| f.write 'foo'}
end

assert_equal("/", Dir.pwd)
assert_equal '.', FileSystem.fs.name
assert_equal(['foo', 'foobar'], FileSystem.fs['path'].keys.sort)

Expand Down

0 comments on commit 05a9ccf

Please sign in to comment.