Permalink
Browse files

Add test for Dir.home

  • Loading branch information...
1 parent e3e6397 commit fac36b02b12871c6a05506a5464736e6a77f5003 @jfirebaugh committed Apr 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/fakefs_test.rb
View
@@ -860,6 +860,10 @@ def test_dir_glob_with_block
assert_equal 2, yielded.size
end
+ def test_dir_home
+ assert_equal RealDir.home, Dir.home
+ end
+
def test_should_report_pos_as_0_when_opening
File.open("foo", "w") do |f|
f << "foobar"

0 comments on commit fac36b0

Please sign in to comment.