lib/rubocop/cop/rspec/focus.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/focus.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -42,10 +42,10 @@
def_node_matcher :focused_block?, focused.send_pattern
def on_send(node)
focus_metadata(node) do |focus|
- add_offense(focus, location: :expression)
+ add_offense(focus)
end
end
private