features/support/test_server_files.rb in ftpd-0.2.0 vs features/support/test_server_files.rb in ftpd-0.2.1

- old
+ new

@@ -16,9 +16,14 @@ def has_file?(path) full_path = temp_path(path) File.exists?(full_path) end + def has_directory?(path) + full_path = temp_path(path) + File.directory?(full_path) + end + def file_contents(path) full_path = temp_path(path) File.open(full_path, 'rb', &:read) end