mutant-rspec 0.5.16 → 0.5.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mutant/rspec.rb +5 -0
- data/lib/mutant/rspec/strategy.rb +3 -2
- metadata +3 -4
- data/lib/mutant-rspec.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133b50e618ba757663edc0543e1d1c2615e80681
|
4
|
+
data.tar.gz: c0e91e6464ba4983d1891eccfcccfc401c4a86d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d26547897a43dc5c0aa88d65b0046eb581655c3238db614d7ed17457ff1fe2a5a2831777523b4d2e9630427fe89a7faaad850711f5ec955aae41acf02552295
|
7
|
+
data.tar.gz: 21489889769ef65d03a0c91903902f6be1efb7578cc409b53ec5833f290c1e63bc443178726e17f98a93150525152efb2b8d5488c7ec6043e8b3b9dc2df6fb23
|
data/lib/mutant/rspec.rb
CHANGED
@@ -63,9 +63,10 @@ module Mutant
|
|
63
63
|
def all_tests
|
64
64
|
example_groups
|
65
65
|
.flat_map(&:descendants)
|
66
|
-
.select { |example_group| example_group.descendants.one? }
|
67
66
|
.map do |example_group|
|
68
67
|
Test.new(self, example_group)
|
68
|
+
end.select do |test|
|
69
|
+
test.identification.split(' ', 2).first.eql?(test.identification)
|
69
70
|
end
|
70
71
|
end
|
71
72
|
memoize :all_tests
|
@@ -125,7 +126,7 @@ module Mutant
|
|
125
126
|
# @api private
|
126
127
|
#
|
127
128
|
def options
|
128
|
-
options = RSpec::Core::ConfigurationOptions.new(%w
|
129
|
+
options = RSpec::Core::ConfigurationOptions.new(%w[--fail-fast spec])
|
129
130
|
options.parse_options if rspec2?
|
130
131
|
options
|
131
132
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutant-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.5.
|
19
|
+
version: 0.5.17
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.5.
|
26
|
+
version: 0.5.17
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,6 @@ extra_rdoc_files:
|
|
73
73
|
- TODO
|
74
74
|
- LICENSE
|
75
75
|
files:
|
76
|
-
- lib/mutant-rspec.rb
|
77
76
|
- lib/mutant/rspec.rb
|
78
77
|
- lib/mutant/rspec/strategy.rb
|
79
78
|
- lib/mutant/rspec/test.rb
|