diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb index b59f3d4..ae6d232 100644 --- a/test/fakefs_test.rb +++ b/test/fakefs_test.rb @@ -1669,6 +1669,8 @@ class FakeFSTest < Test::Unit::TestCase end def test_filetest_file_returns_correct_values + FileUtils.mkdir_p("/path/to") + path = '/path/to/file.txt' File.open(path, 'w') { |f| f.write "Yatta!" } assert FileTest.file?(path)