capybara-screenshot-diff 1.0.0 → 1.0.1
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 -2
- data/lib/capybara/screenshot/diff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f506814195be957a571f69a8d333527ffb0821b4b99c622a2c6569c2dd657d84
|
4
|
+
data.tar.gz: 2a432734a85404b2e45045afd262eed823686d994d9413414b14f5d7e9def15e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c50f7d782931cf98820c994299eee0fa210ae40a224b09b3ad8cee47460d1fbe5e2d89678c8fb95dc7eebd962a3579e25f09a00f3e6eca8cfde0071b08e79f9
|
7
|
+
data.tar.gz: e707af262c119ce508fab95cbf8749f72e99fd7740aaaa8202099a867b84aff1b3a14ef9a9cb0c3a859461c0c6d6c9a9ebfad79520408b70384f7970d64f8b11
|
@@ -59,8 +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
|
63
|
-
|
62
|
+
test_screenshot_errors = @test_screenshots.map(&method(:assert_image_not_changed))
|
63
|
+
test_screenshot_errors.compact!
|
64
64
|
fail(test_screenshot_errors.join("\n\n")) if test_screenshot_errors.any?
|
65
65
|
end
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-screenshot-diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|