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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ba8b36702b47a05aa98804502a7050443fb867361e513f638f7c4e9565381d5
4
- data.tar.gz: 58c935e604bd8924d47f9a24061e18cf59cdf92930a6f509957a27b65f3c2599
3
+ metadata.gz: 2646daec36ed2d6668d9a38082b5072b2fb18f3589f345908945cf5598663df4
4
+ data.tar.gz: b9e8363e86ede1d6b741dd89a912f0f5753ee1549252535e8e28b3e27b427e62
5
5
  SHA512:
6
- metadata.gz: bb7bd9a6ca27be92b253fdaeb48498d8a63a4f700819278c3968221d4b4b0d2f7fdbe8a7e72c0f0af3494705f5b5c2dfbfb67623e4b5866c46bf126454dc8125
7
- data.tar.gz: 745195f4be73d7d93499d50757b5f9e837d04b18a3973f6cd61c7c0e8d8721b7a8f3674744da57da004bb256c40c200f1f7fcc50693373d4d8a681e3b1ecf77d
6
+ metadata.gz: 8aab7ce0826320ac89e1ac83d792b65a4ef6e1db50457540d3475f12ec2302c7bc2523caf1188a085700f430587d4a03458acb7931d8b3a2a4d67150fcf8007d
7
+ data.tar.gz: 5bc79d15380f108891157c6bf1dd21903403fa28a99ecd151f60cedeac64df105a368da0f441a68b431ec37b558aa0b709bf565c9b79806ec5a733ad76d43e6d
@@ -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
- all_examples_succeeded &&= Abq.send_test_result_and_advance { |abq_reporter| considered_example.run(instance, abq_reporter) }
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
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Abq
3
3
  # current version!
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-abq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayaz Hafiz