HomePhorge

(PUP-3850) Only execute inner group on windows AND with elevated privileges
733b3a5c7cc7Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3850) Only execute inner group on windows AND with elevated privileges

Previously, one of the inner example groups executed on non-windows
platforms when running as root. This was because the outer rspec filter
restricted the test to windows, but the inner filter restricted it to
running as root, and nested rspec filters are OR'ed, not AND'ed!

This commit ensures the inner example group is only executed when run on
windows and with elevated privileges as was originally intended.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU11652241627e: Merge pull request #3483 from kylog/maint/fix-spec-stubbing-so-spec-can-run…
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU733b3a5c7cc7: (PUP-3850) Only execute inner group on windows AND with elevated privileges (authored by Josh Cooper <josh@puppetlabs.com>).Jan 16 2015, 7:43 AM