lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.29.1 vs lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.30.0

- old
+ new

@@ -56,9 +56,10 @@ end end def common_setup?(node) return false unless setup?(node) + # Search only for setup with basic_literal arguments (e.g. :sym, :str) # or no arguments at all. node.send_node.arguments.all?(&:basic_literal?) end end