HomePhorge

Replace calls to Array#count with #length
8820a78b5793Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Replace calls to Array#count with #length

Array#count is not available in Ruby 1.8.5, so we need to use #length in these
specs for compatibility.

Reviewed-By: Matt Robinson <matt@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUbdd6a17c9951: Fix order-dependent test failure in certificate_status/file spec
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU8820a78b5793: Replace calls to Array#count with #length (authored by Nick Lewis <nick@puppetlabs.com>).Jul 21 2011, 1:31 AM