lib/rubocop/cop/rspec/described_class.rb in rubocop-rspec-1.28.0 vs lib/rubocop/cop/rspec/described_class.rb in rubocop-rspec-1.29.0

- old
+ new

@@ -113,10 +113,10 @@ def offensive?(node) if style == :described_class node.eql?(@described_class) else - node.method_name == :described_class + node.send_type? && node.method_name == :described_class end end end end end