HomePhorge

(#12101) Add shared context for specs to imitate windows or posix
772f7566d68dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#12101) Add shared context for specs to imitate windows or posix

Add "windows" and "posix" shared contexts to rspec. If you give :as_platform

> :posix or :as_platform => :windows as argument to a describe block, it will

automatically stub the relevant facts and path behavior to imitate windows or
posix.

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2d51b642fcd1: Merge pull request #602 from cprice-puppet/bug/2.7.x/13439-spec-api…
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU772f7566d68d: (#12101) Add shared context for specs to imitate windows or posix (authored by Patrick Carlisle <patrick@puppetlabs.com>).Mar 28 2012, 9:26 PM