poltergeist-screenshot_overview 0.1.7 → 0.1.8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d55dfe2d1810db2618c72c957dcc8e43a3649fb4
|
4
|
+
data.tar.gz: e27d5ee0e8469ba9b6ca5ce2a261b6e515a48a39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64af1d99ebddd35de6459781cc9f6b760623497d3877af3a4ee83731792af9c1f5878c763f982fadd2bedc9a50c982620ecdb0d1979dc3fc87006988e1f464ea
|
7
|
+
data.tar.gz: 6ed18399397448b422c890e78ae209a6f8193ce479d8859e9bd7916751cd2f3817e58a5b277bf10a7b14476ae9420b7563c5fedc73757aad38ec2d18d71d3213
|
@@ -46,6 +46,7 @@ module Poltergeist
|
|
46
46
|
private
|
47
47
|
|
48
48
|
def make_screenshot(argument)
|
49
|
+
return if !defined?(RSpec.current_example)
|
49
50
|
ex = RSpec.current_example
|
50
51
|
if ex && (ex.metadata[:js] || ex.metadata[:screenshot])
|
51
52
|
filename = Manager.instance.add_image_from_rspec(argument, ex, current_path)
|