HomePhorge

s/not_to/should_not/ for older versions of RSpec 2.
2f9ec3cafb2eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

s/not_to/should_not/ for older versions of RSpec 2.

The not_to method for RSpec came in later than the version available on some
of our older test platforms. This uses a less well worded, but more
compatible, test to keep everything passing on the older machine.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Oct 22 2011, 12:51 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU56320ea80c26: (#2848) Eliminate redundant `master_dns_alt_names`.
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU2f9ec3cafb2e: s/not_to/should_not/ for older versions of RSpec 2. (authored by Daniel Pittman <daniel@puppetlabs.com>).Oct 22 2011, 12:51 AM