Skip to content

Commit ed38d60

Browse files
committed
Fix broken adoc comment in RSpec/IncludeExamples
1 parent 5f1d09c commit ed38d60

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,8 +2794,6 @@ unexpected behavior and side effects.
27942794
27952795
Prefer using `it_behaves_like` instead.
27962796
2797-
----
2798-
27992797
[#safety-rspecincludeexamples]
28002798
=== Safety
28012799
@@ -2847,6 +2845,7 @@ context "broken example with it_behaves_like" do
28472845
expect(service.call).to eq "mocked response"
28482846
end
28492847
end
2848+
----
28502849
28512850
[#examples-rspecincludeexamples]
28522851
=== Examples

lib/rubocop/cop/rspec/include_examples.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module RSpec
6161
# expect(service.call).to eq "mocked response"
6262
# end
6363
# end
64-
# ----
64+
# ----
6565
#
6666
# @example
6767
# # bad

0 commit comments

Comments
 (0)