This commit is contained in:
Scott Taylor 2011-09-05 17:26:11 -04:00
parent 492d628994
commit 9cbf2228a9

View File

@ -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)