def it_can_be_called_twice(new_path): diskutils.touch(new_path) diskutils.touch(new_path) expect(os.path.exists(new_path)).is_true()
def it_creates_missing_directories(new_path_in_directory): diskutils.touch(new_path_in_directory) expect(os.path.exists(new_path_in_directory)).is_true()
def it_creates_files(new_path): diskutils.touch(new_path) expect(os.path.exists(new_path)).is_true()