lib/capybara/screenshot/diff/stabilization.rb in capybara-screenshot-diff-0.14.1 vs lib/capybara/screenshot/diff/stabilization.rb in capybara-screenshot-diff-0.14.2
- old
+ new
@@ -47,10 +47,11 @@
next
else
last_image_change_at = Time.now
end
- check_max_wait_time(comparison, screenshot_started_at, shift_distance_limit: shift_distance_limit)
+ check_max_wait_time(comparison, screenshot_started_at,
+ shift_distance_limit: shift_distance_limit)
end
previous_file_name = "#{comparison.new_file_name.chomp('.png')}_x#{format('%02i', i)}.png~"
FileUtils.mv comparison.new_file_name, previous_file_name