summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Mark failing test as pending on versions of powershell < 4jdm/poshJay Mundrawala2015-03-121-1/+2
| | | | | This case has never worked before 6c724e866274a728bc66740ab352db7da7d7958f. It was fixed for 4, however it seems that does not apply to versions < 4.
* Merge pull request #3039 from chef/tball/nightliesTyler Ball2015-03-112-4/+8
|\ | | | | Chef-DK nightlies on debian and el6 have been failing on these timing-based tests, doing a quick fix
| * Updating comment for future userstball/nightliestyler-ball2015-03-101-1/+2
| |
| * Changing tactics - excluding test from chef verify because I cannot figure ↵tyler-ball2015-03-102-2/+5
| | | | | | | | out why it fails
| * Nightlies on debian and el6 have been failing on these timing-based tests, ↵tyler-ball2015-03-101-4/+4
| | | | | | | | doing a quick fix
* | dscl specs should only run on macjdm/dscl-fixJay Mundrawala2015-03-102-1/+2
| |
* | Merge pull request #3050 from chef/jdm/osxJay Mundrawala2015-03-104-1/+16
|\ \ | |/ |/| Fix dscl issues for osx
| * Dont run useradd_spec on osxjdm/osxJay Mundrawala2015-03-093-0/+16
| |
| * Modify dscl_spec to runJay Mundrawala2015-03-091-1/+0
| |
* | Merge pull request #3004 from chef/lcg/deploy-provider-nillableLamont Granquist2015-03-091-0/+35
|\ \ | |/ |/| add specs for nilling deploy parameters
| * add specs for nilling deploy parametersLamont Granquist2015-03-051-0/+35
| |
* | rename 'hash' to 'provider_mapping'Lamont Granquist2015-03-041-5/+5
| | | | | | | | slightly less generic
* | add os to node stubLamont Granquist2015-03-041-3/+4
| | | | | | | | | | would be better to use a pristine copy of a real ohai run here since we're in a functional test.
* | provider_resolver migration from provider_mappingLamont Granquist2015-03-042-5/+132
|/ | | | | | | | - move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
* fix rspec test to use rspec best practicesKyleen MacGugan2015-03-031-1/+1
|
* Merge pull request #3001 from chef/kyleen/audit-exclusionKyleen2015-03-031-0/+10
|\ | | | | Add /lib/chef/ to backtrace exclusion patterns for audit mode
| * Add /lib/chef/ to backtrace exclusion patterns for audit modekyleen/audit-exclusionKyleen MacGugan2015-03-031-0/+10
| | | | | | | | | | | | Exclusion pattern now includes anything with /lib/chef/ only fix spacing issue
* | Merge pull request #2999 from chef/pr-2988Jay Mundrawala2015-03-021-0/+14
|\ \ | | | | | | Pr 2988
| * | Fix expect receiveJay Mundrawala2015-03-021-1/+1
| | |
| * | Rename specJay Mundrawala2015-03-021-1/+1
| | |
| * | write spec for case of validation_key is nil.sawanoboly2015-02-271-0/+14
| |/
* | Update specs for yum package provider to use shell_outJay Mundrawala2015-03-021-13/+15
| |
* | Merge pull request #2992 from chef/jdm/osx-fixJay Mundrawala2015-02-271-2/+3
|\ \ | | | | | | Fix specs on OSX
| * | Update spec to mock out tar_cmdJay Mundrawala2015-02-271-2/+3
| |/
* | Update windows_service_spec to use 2 hour timeoutjdm/win-serviceJay Mundrawala2015-02-271-2/+2
| |
* | Add spec to check timeout is passed to shelloutJay Mundrawala2015-02-261-11/+28
| |
* | Updated windows_service_spec to expect the timeoutJay Mundrawala2015-02-261-2/+2
|/
* add explicit test for nillable_set_or_returnLamont Granquist2015-02-231-0/+7
|
* add nillable_set_or_return tests to the mixinLamont Granquist2015-02-231-63/+70
|
* nillable deploy resource + nillable LWRP argsLamont Granquist2015-02-231-0/+27
| | | | | | | | | | | | | introduced nillable_set_or_return so that we can actually set a nil value on a resource from the DSL. this fixes the case where you want to do (and we document) setting symlink_before_migrate to nil on the deploy resource. to implement this better also moved up the attribute DSL method to the base Chef::Resource class. all LWRP resources are now nillable as well.
* Merge pull request #2946 from chef/jdm/group-spec-fixKartik Null Cating-Subramanian2015-02-191-0/+3
|\ | | | | Group spec needs to respond to shell_out
| * Group spec needs to respond to shell_outjdm/group-spec-fixJay Mundrawala2015-02-191-0/+3
| |
* | fix dpkg regressionLamont Granquist2015-02-191-0/+1
|/
* Merge pull request #2924 from chef/btm/popen_shellout_rebaseJay Mundrawala2015-02-1914-133/+128
|\ | | | | fix aix related providers to replace popen4 with mixlib shell_out
| * Make tests pass on Windowsbtm/popen_shellout_rebaseJay Mundrawala2015-02-181-1/+1
| |
| * Fix unit specs for PR #2934Jay Mundrawala2015-02-181-3/+3
| |
| * fix aix related providers to replace popen4 with mixlib shell_outkaustubh-d2015-02-1713-129/+124
| |
* | Added spec for #2914lcg/fix-multipackageJay Mundrawala2015-02-171-0/+15
| |
* | fix virtual package logic in check_package_stateLamont Granquist2015-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since check_package_state calls itself to check virtual packages the array building it does was getting indexed incorrectly as the virtual packages were getting inserted into arrays that were supposed to be indexed by the package arguments the user gave. there was also a bug which broke idempotency with virtual packages and would cause virtual packages to get reinstalled every time (installed_version not geting correctly inherited from the virtual package). WIP2 remove debug fix specs
* | convert is_virtual_package to hashLamont Granquist2015-02-171-1/+1
| | | | | | | | | | | | | | | | | | make this a hash based on name so that when we pass an array of names to install_package we can look up the right one and do not have to synchronize arrays. we should probably convert the arrays in the superclass to hashes based on name as well.
* | Added spec to check that FileAccessControl responds to writable?Jay Mundrawala2015-02-171-0/+6
| |
* | Update directory resource to use FileAccessControl to check if file is writableJay Mundrawala2015-02-171-4/+4
| |
* | Added basic spec for AccessCheckJay Mundrawala2015-02-171-0/+31
| |
* | Added basic spec for get_file_securityJay Mundrawala2015-02-171-0/+9
| |
* | Added a test for duplicating a security token with incorrect permissionsJay Mundrawala2015-02-171-0/+8
| |
* | Added test for duplicating a security tokenJay Mundrawala2015-02-171-0/+15
|/
* Fix Chef::Resource::File::Verification tests on WindowsSteven Danna2015-02-171-1/+5
|
* Add Chef::GuardInterpreter.for_resource method to reduce duplicationSteven Danna2015-02-171-0/+41
|
* Use Chef::Mixin::DescendantsTracker to track registered verificationsSteven Danna2015-02-171-2/+2
|
* Fix typo in test descriptionSteven Danna2015-02-171-1/+1
|