HomePhorge

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

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 21 2011, 7:20 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf1f52988b2fe: (#2848) Eliminate redundant `master_dns_alt_names`.
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUe29eb6aeebc7: s/not_to/should_not/ for older versions of RSpec 2. (authored by Daniel Pittman <daniel@puppetlabs.com>).Oct 21 2011, 7:20 PM