capybara-screenshot-diff 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capybara/screenshot/diff.rb +2 -1
- data/lib/capybara/screenshot/diff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbd81a7aa63a3fcfada0a1fd3544d83bf807ac00dd2240233dfe23ecfd105591
|
4
|
+
data.tar.gz: '085af6073a2a6908ca4dfa8cb4ef674b0be391f241cea5816e4179bbdcb9e142'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db56bcc2c8a2cac4be1190994cd481fe91258e9d6991ec2890f793b8d269ee7f7075ed3604603c501ad5412ab12b95124c4814a372e76b42486341f0e7e57e1f
|
7
|
+
data.tar.gz: 421a21ecfb59711a95591a839fa23a1954664b021a634f78801e5b19aaf22520b69741dd4776d1a2a418de803b026487718fb4d05ac9f12c9fde2d6aa5d5d8ad
|
@@ -59,7 +59,8 @@ module Capybara
|
|
59
59
|
|
60
60
|
clas.teardown do
|
61
61
|
if Capybara::Screenshot::Diff.enabled && @test_screenshots
|
62
|
-
test_screenshot_errors = @test_screenshots
|
62
|
+
test_screenshot_errors = @test_screenshots
|
63
|
+
.map { |caller, name, compare| assert_image_not_changed(caller, name, compare) }
|
63
64
|
test_screenshot_errors.compact!
|
64
65
|
fail(test_screenshot_errors.join("\n\n")) if test_screenshot_errors.any?
|
65
66
|
end
|