lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -35,10 +35,10 @@
# describe "A feature example", type: :feature do
# end
class DescribeClass < Base
include TopLevelGroup
- MSG = 'The first argument to describe should be '\
+ MSG = 'The first argument to describe should be ' \
'the class or module being tested.'
def_node_matcher :example_group_with_ignored_metadata?, <<~PATTERN
(send #rspec? :describe ... (hash <#ignored_metadata? ...>))
PATTERN