Method: RuboCop::Cop::RSpec::ContainExactly#on_send

Defined in:
lib/rubocop/cop/rspec/contain_exactly.rb

#on_send(node) ⇒ Object

[View source]

29
30
31
32
33
# File 'lib/rubocop/cop/rspec/contain_exactly.rb', line 29

def on_send(node)
  return if node.arguments.empty?

  check_populated_collection(node)
end