lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-1.21.0 vs lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-1.22.0
- old
+ new
@@ -17,15 +17,15 @@
# - if
#
# @example
# # bad
# context 'the display name not present' do
- # ...
+ # # ...
# end
#
# # good
# context 'when the display name is not present' do
- # ...
+ # # ...
# end
class ContextWording < Cop
MSG = 'Start context description with %<prefixes>s.'.freeze
def_node_matcher :context_wording, <<-PATTERN