lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -24,10 +24,10 @@
(send #{RSPEC} :describe $sym ...)
PATTERN
def on_send(node)
describe_symbol?(node) do |match|
- add_offense(match, location: :expression)
+ add_offense(match)
end
end
end
end
end