lib/rubocop/cop/rspec/empty_example_group.rb in rubocop-rspec-1.18.0 vs lib/rubocop/cop/rspec/empty_example_group.rb in rubocop-rspec-1.19.0
- old
+ new
@@ -68,10 +68,10 @@
PATTERN
def on_block(node)
return unless example_group?(node) && !contains_example?(node)
- add_offense(node.children.first, :expression)
+ add_offense(node.children.first, location: :expression)
end
private
def custom_include?(method_name)