class RuboCop::Cop::Minitest::SkipWithoutReason
def only_skip_branches?(node)
def only_skip_branches?(node) branches = node.branches.compact branches.size > 1 && branches.all? { |branch| branch.send_type? && branch.method?(:skip) } end
def only_skip_branches?(node) branches = node.branches.compact branches.size > 1 && branches.all? { |branch| branch.send_type? && branch.method?(:skip) } end