diff --git a/lib/rubocop/cop/rspec/example_wording.rb b/lib/rubocop/cop/rspec/example_wording.rb index 722bc285d..20028d711 100644 --- a/lib/rubocop/cop/rspec/example_wording.rb +++ b/lib/rubocop/cop/rspec/example_wording.rb @@ -26,7 +26,7 @@ module RSpec # it 'finds nothing' do # end # - # @example `DisallowedExamples: ['works']` + # @example # # bad # it 'it does things' do # end @@ -35,7 +35,7 @@ module RSpec # it 'does things' do # end # - # @example + # @example `DisallowedExamples: ['works']` (default) # # bad # it 'works' do # end