We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RSpec/IncludeExamples
1 parent 5f1d09c commit ed38d60Copy full SHA for ed38d60
docs/modules/ROOT/pages/cops_rspec.adoc
@@ -2794,8 +2794,6 @@ unexpected behavior and side effects.
2794
2795
Prefer using `it_behaves_like` instead.
2796
2797
-----
2798
-
2799
[#safety-rspecincludeexamples]
2800
=== Safety
2801
@@ -2847,6 +2845,7 @@ context "broken example with it_behaves_like" do
2847
2845
expect(service.call).to eq "mocked response"
2848
2846
end
2849
+----
2850
2851
[#examples-rspecincludeexamples]
2852
=== Examples
lib/rubocop/cop/rspec/include_examples.rb
@@ -61,7 +61,7 @@ module RSpec
61
# expect(service.call).to eq "mocked response"
62
# end
63
64
- # ----
+ # ----
65
#
66
# @example
67
# # bad
0 commit comments