summaryrefslogtreecommitdiff
path: root/spec/functional/util/powershell/cmdlet_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Manual fix ups for things that didn't follow the usual pattern.Noah Kantrowitz2016-02-021-1/+1
|
* Use OHAI_SYSTEM where possibleJay Mundrawala2016-02-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rerunning ohai wastes a lot of time. This should get us back to within our time limits in appveyor even with the perf regression in Ohai. Don't rerun ohai for unit/regsitry_helper_spec Ohai is slow. We don't need to rerun this, it's already run in our spec_helper. Don't keep rerunning ohai for reboot_pending_spec Running Ohai is slow. This should know almost 2 mins off the runtime of the tests. Don't need to run ohai for registry_spec crypto_spec does not need its own ohai cmdlet_spec does not need its own ohai functional registry_helper_spec does not need its own ohai Use spec ohai system for knife configure_spec Use OHAI_SYSTEM for dsc_script_spec use OHAI_SYSTEM for dsc_resource_spec
* Use double quotes by defaultThom May2016-01-141-16/+16
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Disable Cmdlet tests on old versions of powershelljdm/powershell-cmdletJay Mundrawala2015-03-241-3/+3
| | | | | | | | | | cmdlet.rb uses stream redirection, which is not available in powershell 2. Since this is a helper class for our `dsc_script` and `dsc_resource`, this is a fairly safe change. While the verbose stream redirection is currently unused, it will be useful if Invoke-DscResource logs its verbose output to the verbose stream.
* Trying to eradicate all traces of the JSON gem from Cheftyler-ball2014-10-071-2/+2
|
* Switch fileformat to unix, clean up whitespace.Bryan McLellan2014-09-191-114/+114
| | | | | Converts a few files from CRLF->LF. Removes some trailing whitespace as well.
* DSC spec platform detection via WMIAdam Edwards2014-09-191-2/+2
|
* Deal with LCM failing when a resource does not support WhatIfJay Mundrawala2014-09-191-2/+6
|
* Updated powershell functional tests to work with changes to ↵Jay Mundrawala2014-09-191-17/+15
| | | | Chef::Util::Powershell:Cmdlet
* Initial dsc_configuration resource implementationAdam Edwards2014-09-191-0/+112