test_bench-fixture 1.2.2.1 → 1.2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_bench/fixture/session.rb +3 -3
- 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: 13a777ff52df4352c49326e6b394828cd64eed0abfdf54a0a677bff3f3958737
|
4
|
+
data.tar.gz: ccaa7603572eec663dcf2638b5345af7c245ed0aaf137cac124a24e800775910
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4694182ab91a9e75de0f6c69c59bd027842989f075bb0787b15be6e2b4a092d4405943e3c91e1b7f242d1575132f9e3a268544809c201f16f817230d266aacee
|
7
|
+
data.tar.gz: edc04eee7d348c8e2ea6216200e17eea95c6beee183ce45346542452bbce7f8da6a8dd06d87a4f3213825f7c44694fd43b5469ccdb698c141fd94ae1e11e9612
|
@@ -214,12 +214,12 @@ module TestBench
|
|
214
214
|
rescue => error
|
215
215
|
error(error)
|
216
216
|
|
217
|
-
|
218
|
-
current_exception = $!
|
217
|
+
error = nil
|
219
218
|
|
219
|
+
ensure
|
220
220
|
result = error_counter == previous_error_counter
|
221
221
|
|
222
|
-
block.(result,
|
222
|
+
block.(result, error) unless block.nil?
|
223
223
|
end
|
224
224
|
|
225
225
|
result
|