rspec-cover_it 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/cover_it/context_coverage.rb +5 -2
- data/lib/rspec/cover_it/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: 5989ad87b5dccfd49f0e4074fde2aa5ee796af31c93d7a8c3b081fd5283db3aa
|
4
|
+
data.tar.gz: ef49e7f6d941accf93973aaf56da57a6ae60db7232042b9d06edad5d1845dc5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d64ad3f4a25abd3a5af67ab7e6ff3f548e7c43004c25c6c7dba5da4de81d5217a2160ae7c725c50af9fb9caecad57105c4d0f18cafb5b12a4968c63de849993
|
7
|
+
data.tar.gz: e0dee5c4480e921645112dcd5bfcbe303f144a90564d03542fe6b84b11159566807555b06c45382eb5a0302faba6470b786bcd38c4e5ba16563184a0bad52259
|
@@ -57,8 +57,11 @@ module RSpec
|
|
57
57
|
else
|
58
58
|
"on #{lines.length} lines, including #{lines.first(10).map(&:to_s).join(", ")}"
|
59
59
|
end
|
60
|
-
|
61
|
-
fail(MissingCoverage,
|
60
|
+
|
61
|
+
fail(MissingCoverage, <<~MESSAGE.tr("\n", " "))
|
62
|
+
Example group `#{context.scope_name}` is missing coverage on
|
63
|
+
`#{context.target_class}` in `#{context.target_path}` #{summary}
|
64
|
+
MESSAGE
|
62
65
|
end
|
63
66
|
|
64
67
|
attr_reader :context, :pretest_results
|