acceptance_test 1.0.7 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.idea/.rakeTasks +1 -1
- data/CHANGES +5 -1
- data/lib/acceptance_test/acceptance_test.rb +5 -3
- data/lib/acceptance_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGQ4NjczZWRkY2JkOTdmNTc5MjUyNTk2NjkxYzA3ZDZiMmQ1MjYwZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzBiMDNlNTE2NTkyMzk3YzI3YzNhZTEwMDY5ZDYxNjJjMDg2YTEzOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzBmNzI1ZDA2MTJkMDI0MzZhOGFjYjMxMjUxMmFhNTI1ZmE3NWU3NDFiZTY5
|
10
|
+
N2ZlMGE2NzY2MTZjZGU0MjVhYWVmMWU5ZGY2ZjZhMTY3ZmIxZDU1MDFhYzFj
|
11
|
+
YmRiYmFiZDJkNmEyNGEzOGMyNjczM2VhODBiMzQ2MWU3ZDk5MGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2Y1YmYyYjVlM2RhZTNlZGViY2QzOThkODBkN2NmYmIxOTI5OGVlMTg5NmE0
|
14
|
+
YWUwMzk2MGI5YTYyNWE5ZjYxMjBjZWZjN2VjMzAwODAxYjU5MWVlYWIzNmIw
|
15
|
+
MWEzNzliNzZkOTA1MmQ4Njg3MjI1M2I5MTYyOWI2NDRiZDhlYmU=
|
data/.idea/.rakeTasks
CHANGED
@@ -4,4 +4,4 @@ You are allowed to:
|
|
4
4
|
1. Remove rake task
|
5
5
|
2. Add existing rake tasks
|
6
6
|
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
-
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="build" taksId="build" /><RakeTask description="" fullCmd="
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="build" taksId="build" /><RakeTask description="" fullCmd="gen" taksId="gen" /><RakeTask description="" fullCmd="install" taksId="install" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeTask description="" fullCmd="uninstall" taksId="uninstall" /></RakeGroup></Settings>
|
data/CHANGES
CHANGED
@@ -37,17 +37,19 @@ class AcceptanceTest
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def after context
|
40
|
-
|
40
|
+
example = RSpec.current_example
|
41
41
|
|
42
|
-
if
|
42
|
+
if example.exception
|
43
43
|
driver = driver(context)
|
44
44
|
|
45
45
|
if driver and not [:webkit].include? driver
|
46
|
-
save_screenshot
|
46
|
+
save_screenshot example, context.page
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
50
|
Capybara.current_driver = Capybara.default_driver
|
51
|
+
|
52
|
+
context.reset_session!
|
51
53
|
end
|
52
54
|
|
53
55
|
def load_selenium_config file_name, config_name
|