system_test_html_screenshots 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2607fbd9410f48a0a67d42af7b607fbb978be052fdd54187da21de946970d6a1
|
4
|
+
data.tar.gz: 0445a09ee8fd608033ad71963c2ce36281f83c5698e67954340712cf4a0c310c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f207250ee4bc3b2be6b10eb73b802538353ebce91667a6e0f51c54df6edf9a2c2c184099d04f7c0e8b406c72c96070a9d4750349fcd08534aaaaa5fd72d1808
|
7
|
+
data.tar.gz: 4e760ec8133a9c0181c91a2f70acd1df633797626ad33128bf8c09ee0b79ee0c5caf4d67f28d291f0beaf757e23fb7a6f25db0b08bbb44fee8d5de8334ee9a64
|
@@ -9,11 +9,15 @@ module ActionDispatch
|
|
9
9
|
def take_screenshot
|
10
10
|
save_image
|
11
11
|
save_page
|
12
|
-
|
12
|
+
puts display_screenshot
|
13
13
|
end
|
14
14
|
|
15
15
|
private
|
16
16
|
|
17
|
+
def image_path
|
18
|
+
@image_path ||= absolute_image_path.to_s
|
19
|
+
end
|
20
|
+
|
17
21
|
def page_path
|
18
22
|
@page_path ||= absolute_page_path.to_s
|
19
23
|
end
|