rspec-abq 0.2.1 → 0.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/rspec/abq/extensions.rb +7 -1
- data/lib/rspec/abq/version.rb +1 -1
- 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: 2646daec36ed2d6668d9a38082b5072b2fb18f3589f345908945cf5598663df4
|
4
|
+
data.tar.gz: b9e8363e86ede1d6b741dd89a912f0f5753ee1549252535e8e28b3e27b427e62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aab7ce0826320ac89e1ac83d792b65a4ef6e1db50457540d3475f12ec2302c7bc2523caf1188a085700f430587d4a03458acb7931d8b3a2a4d67150fcf8007d
|
7
|
+
data.tar.gz: 5bc79d15380f108891157c6bf1dd21903403fa28a99ecd151f60cedeac64df105a368da0f441a68b431ec37b558aa0b709bf565c9b79806ec5a733ad76d43e6d
|
data/lib/rspec/abq/extensions.rb
CHANGED
@@ -36,7 +36,13 @@ module RSpec
|
|
36
36
|
instance = new(considered_example.inspect_output)
|
37
37
|
set_ivars(instance, before_context_ivars)
|
38
38
|
|
39
|
-
|
39
|
+
# note: it looks like we can inline the next two lines.
|
40
|
+
# DON'T DO IT!
|
41
|
+
# true &&= expression : expression will be run, fine!
|
42
|
+
# false &&= expression: expression will NOT be run! bad!
|
43
|
+
# we want to always run the test, even if the previous test failed.
|
44
|
+
result = Abq.send_test_result_and_advance { |abq_reporter| considered_example.run(instance, abq_reporter) }
|
45
|
+
all_examples_succeeded &&= result
|
40
46
|
|
41
47
|
break unless Abq.target_test_case.directly_in_group?(self)
|
42
48
|
end
|
data/lib/rspec/abq/version.rb
CHANGED