lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-1.12.0 vs lib/rubocop/cop/rspec/describe_class.rb in rubocop-rspec-1.13.0

- old
+ new

@@ -21,23 +21,23 @@ MSG = 'The first argument to describe should be '\ 'the class or module being tested.'.freeze def_node_matcher :valid_describe?, <<-PATTERN - {(send {(const nil :RSpec) nil} :describe const ...) (send nil :describe)} + {(send {(const nil :RSpec) nil} :describe const ...) (send nil :describe)} PATTERN def_node_matcher :describe_with_metadata, <<-PATTERN - (send {(const nil :RSpec) nil} :describe - !const - ... - (hash $...)) + (send {(const nil :RSpec) nil} :describe + !const + ... + (hash $...)) PATTERN def_node_matcher :rails_metadata?, <<-PATTERN - (pair - (sym :type) - (sym {:request :feature :routing :view})) + (pair + (sym :type) + (sym {:request :feature :routing :view})) PATTERN def_node_matcher :shared_group?, <<-PATTERN (block (send {(const nil :RSpec) nil} #{SharedGroups::ALL.node_pattern_union} ...) ...) PATTERN