HomePhorge

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

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.