Skip to content

Commit

Permalink
[Fix rubocop#1337] Update the cop to raise error for insufficient des…
Browse files Browse the repository at this point in the history
…criptions.
  • Loading branch information
Akshaya Kumar committed Aug 5, 2022
1 parent 0ea48d9 commit 220d909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rspec/example_wording.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module RSpec
# it 'finds nothing' do
# end
#
# @example `DisallowedExamples: ['works']`
# @example
# # bad
# it 'it does things' do
# end
Expand All @@ -35,7 +35,7 @@ module RSpec
# it 'does things' do
# end
#
# @example
# @example `DisallowedExamples: ['works']` (default)
# # bad
# it 'works' do
# end
Expand Down

0 comments on commit 220d909

Please sign in to comment.