spec/spec_helper.rb
# clean up by deleting created files
clean up by deleting created files
clean up by deleting created files
def remove_created_file(file_path)
  if file_path && File.exists?(file_path)
    File.delete(file_path)
  end
end
def remove_created_file ( file_path ) if file_path && File . exists? ( file_path ) File . delete ( file_path ) end end
clean up by deleting created files
clean up by deleting created files
file_path