lib/rubocop/cop/rspec/example_without_description.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/example_without_description.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -49,11 +49,11 @@
# end
class ExampleWithoutDescription < Cop
include ConfigurableEnforcedStyle
MSG_DEFAULT_ARGUMENT = 'Omit the argument when you want to ' \
- 'have auto-generated description.'.freeze
- MSG_ADD_DESCRIPTION = 'Add a description.'.freeze
+ 'have auto-generated description.'
+ MSG_ADD_DESCRIPTION = 'Add a description.'
def_node_matcher :example_description, '(send nil? _ $(str $_))'
def on_block(node)
return unless example?(node)