Rebase 492d62899
This commit is contained in:
parent
492d628994
commit
9cbf2228a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user