lib/capybara/screenshot/diff/test_methods.rb in capybara-screenshot-diff-1.7.0 vs lib/capybara/screenshot/diff/test_methods.rb in capybara-screenshot-diff-1.7.1

- old
+ new

@@ -76,11 +76,11 @@ create_output_directory_for(file_name) comparison = ImageCompare.new(file_name, nil, driver_options) checkout_vcs(name, comparison.old_file_name, comparison.new_file_name) - take_screenshot(comparison, crop, stability_time_limit, wait) + take_comparison_screenshot(comparison, crop, stability_time_limit, wait) return false unless comparison.old_file_exists? # Allow nil or single or multiple areas if driver_options[:skip_area] @@ -110,10 +110,10 @@ def create_output_directory_for(file_name) FileUtils.mkdir_p File.dirname(file_name) end - def take_screenshot(comparison, crop, stability_time_limit, wait) + def take_comparison_screenshot(comparison, crop, stability_time_limit, wait) blurred_input = prepare_page_for_screenshot(timeout: wait) if stability_time_limit take_stable_screenshot( comparison, crop: crop,