test/salesforce/bulk/batch_test.rb in activeforce-1.9.1 vs test/salesforce/bulk/batch_test.rb in activeforce-1.10.0

- old
+ new

@@ -76,9 +76,9 @@ @batch = @job.batch do end end def clear_file - FileUtils.rm_rf(@batch.filename) if @batch.filename.present? + FileUtils.rm_rf(@batch.filename) if @batch.present? && @batch.filename.present? end end