lib/capybara/screenshot/diff/stabilization.rb in capybara-screenshot-diff-0.15.0 vs lib/capybara/screenshot/diff/stabilization.rb in capybara-screenshot-diff-0.15.1

- old
+ new

@@ -79,10 +79,10 @@ resized_image = saved_image.resample_bilinear(width, height) resized_image.save(file_name) end def stabilization_images(base_file) - Dir["#{base_file.chomp('.png')}_x*.png~"] + Dir["#{base_file.chomp('.png')}_x*.png~"].sort end def clean_stabilization_images(base_file) FileUtils.rm stabilization_images(base_file) end