lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.11.2 vs lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.11.3

- old
+ new

@@ -160,10 +160,10 @@ new_img.save(new_file_name) end def clean_tmp_files FileUtils.cp @old_file_name, @new_file_name - File.delete(@old_file_name) if File.exist?(@annotated_old_file_name) + File.delete(@old_file_name) if File.exist?(@old_file_name) File.delete(@annotated_old_file_name) if File.exist?(@annotated_old_file_name) File.delete(@annotated_new_file_name) if File.exist?(@annotated_new_file_name) end def load_images(old_file, new_file)