lib/capybara/screenshot/diff.rb in capybara-screenshot-diff-0.10.0 vs lib/capybara/screenshot/diff.rb in capybara-screenshot-diff-0.10.1

- old
+ new

@@ -53,10 +53,10 @@ end clas.teardown do if Capybara::Screenshot::Diff.enabled && @test_screenshots test_screenshot_errors = @test_screenshots - .map { |caller, name, compare| assert_image_not_changed(caller, name, compare) }.compact + .map { |caller, name, compare| assert_image_not_changed(caller, name, compare) }.compact fail(test_screenshot_errors.join("\n\n")) if test_screenshot_errors.any? end end end end