Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Execute spec should actually check to make sure it did not wait for 600 secondsjdm/disable-execute-timeout-win | Jay Mundrawala | 2014-12-18 | 1 | -3/+6 |
| | |||||
* | Merge pull request #2661 from opscode/btm/appveyor11.18.0.r | Bryan McLellan | 2014-12-17 | 1 | -1/+1 |
|\ | | | | | Combination of all current PRs against master to get appveyor passing. Closes #2655, #2653, #2644, #2670. | ||||
| * | Disable broken registry_spec testsbtm/appveyor | Jay Mundrawala | 2014-12-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The registry_spec has been broken since we switched to rspec 3 :pending was running the tests, but expecting them to fail. There seems to be a bug where if there is a failure outside the test, in our case the before block was silently raising an exception accessing resource_name, the tests would fail as expected but rspec would return with an exit code of 1 | ||||
* | | First pass at fixing broken notifications | tyler-ball | 2014-12-16 | 1 | -0/+169 |
|/ | | | | | | Fixing some code I changed unecessarily Removing TODOs which are not necessary | ||||
* | As https://github.com/opscode/chef/issues/2580 summarizes, Link resource ↵sersut/revert-1901 | Serdar Sutay | 2014-12-11 | 1 | -4/+4 |
| | | | | | | need to support relative paths in its 'to' attribute since one can create a symlink pointing to a relative location. This is useful if the directory that symlink resides in moves to a different place (e.g. mounting a disk on a separate location). This commit preserves relative paths inside the "encode_path" method used by the link operations and expands relative paths in similar fashion when being used by file operations. | ||||
* | Revert "Merge pull request #1901 from opscode/dont-prepend-to-relative-paths" | Serdar Sutay | 2014-12-11 | 1 | -16/+16 |
| | | | | | | | | | | This reverts commit 1241ea6f9866d0e61d11129bb32e5fc96cd2bac0, reversing changes made to 34d956c6b96087e6ca4bfbc9080037ded481709d. Conflicts: spec/functional/resource/file_spec.rb spec/functional/resource/link_spec.rb spec/unit/provider/link_spec.rb | ||||
* | Execute and Script Resource improvements | Lamont Granquist | 2014-12-08 | 2 | -64/+157 |
| | | | | | | | | | | | - Warning on incorrect usage of the command resource in any script resource - Warning on code in script resource being nil - Specs added to force deprecation of incorrect usage in Chef-13 - Specs added around the (supported) incorrect usage in Chef-12 - Cleanup+Modernization of providers and specs - Fixed some global state bugs around the Chef::Log.level in the spec tests | ||||
* | typo fixes - https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-08 | 1 | -1/+1 |
| | |||||
* | Remove remaining should syntax. | Claire McQuin | 2014-11-03 | 1 | -4/+4 |
| | |||||
* | Clean up for Windows spec deprecation warnings. | Claire McQuin | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Change pending to skip. | Claire McQuin | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Fix some Windows specs. | Claire McQuin | 2014-10-30 | 3 | -8/+8 |
| | |||||
* | Merge branch 'master' into mcquin/rspec-3 | Claire McQuin | 2014-10-30 | 2 | -19/+19 |
|\ | | | | | | | | | | | Conflicts: spec/functional/dsl/reboot_pending_spec.rb spec/functional/event_loggers/windows_eventlog_spec.rb | ||||
| * | Fix the after blocks in reboot_pending specs.sersut/win-res-lookup-fix | Serdar Sutay | 2014-10-29 | 1 | -4/+4 |
| | | |||||
| * | Fix the logic that checks for existing reboot pending in reboot pending tests. | Serdar Sutay | 2014-10-28 | 1 | -15/+15 |
| | | |||||
| * | Make sure the event log related capability is turned off on Windows 2003 ↵ | Serdar Sutay | 2014-10-28 | 1 | -5/+5 |
| | | | | | | | | boxes since it's not supported. | ||||
* | | Fix failures from pending | Claire McQuin | 2014-10-30 | 1 | -4/+4 |
| | | |||||
* | | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 42 | -772/+770 |
|/ | |||||
* | @hourly not supported in aix crons | kaustubh-d | 2014-10-28 | 1 | -2/+2 |
| | |||||
* | fix bff spec by setting os attribute on node so that approriate provider is ↵ | kaustubh-d | 2014-10-28 | 1 | -0/+1 |
| | | | | found. | ||||
* | Set guard_interpreter using default_guard_interpreter | Adam Edwards | 2014-10-23 | 1 | -19/+24 |
| | |||||
* | powershell_script and batch resource guard_interpeter default to parent resource | Adam Edwards | 2014-10-23 | 2 | -11/+11 |
| | |||||
* | Use windows evt log by default on windows | Jay Mundrawala | 2014-10-22 | 1 | -3/+7 |
| | |||||
* | Guard windows specific includes in spec | Jay Mundrawala | 2014-10-22 | 1 | -2/+4 |
| | |||||
* | Copy-pasta error | Jay Mundrawala | 2014-10-22 | 1 | -1/+1 |
| | |||||
* | Added spec for windows event logger | Jay Mundrawala | 2014-10-22 | 1 | -0/+76 |
| | |||||
* | Merge pull request #2249 from opscode/jdmundrawala/delete-env | Jay Mundrawala | 2014-10-21 | 1 | -0/+9 |
|\ | | | | | Ensure delete ENV[var] from current process | ||||
| * | spec to ensure deleting ENV[var] from current process worksjdmundrawala/delete-env | Jay Mundrawala | 2014-10-21 | 1 | -0/+9 |
| | | |||||
* | | Merge pull request #2028 from ClogenyTechnologies/kd/aix-service | Serdar Sutay | 2014-10-21 | 4 | -0/+392 |
|\ \ | |/ |/| | aix service provider | ||||
| * | fixed functional tests | kaustubh-d | 2014-09-23 | 4 | -92/+132 |
| | | |||||
| * | fix copyright | kaustubh | 2014-09-22 | 1 | -1/+1 |
| | | |||||
| * | mark test aix only, and correct copyright | kaustubh | 2014-09-22 | 1 | -2/+2 |
| | | |||||
| * | functional specs for aix service provider | kaustubh-d | 2014-09-19 | 4 | -0/+352 |
| | | |||||
* | | Missed one spec in rpm_spec.rb.sersut/chef-rc-fixes-2 | Serdar Sutay | 2014-10-20 | 1 | -2/+2 |
| | | |||||
* | | Refer to rpm assets with the full path in specs. | Serdar Sutay | 2014-10-20 | 1 | -2/+3 |
| | | |||||
* | | Fix cron specs on Solaris. | Serdar Sutay | 2014-10-20 | 1 | -1/+7 |
| | | |||||
* | | Enable guard_interpreters for the execute resource and set the default ↵ | Serdar Sutay | 2014-10-16 | 1 | -0/+113 |
| | | | | | | | | | | | | interpreter for the execute resource to be :execute. This ensures that attributes of the resource like :environment & :cwd can be inherited by the guard when guard is specified as a string. | ||||
* | | file_spec: chdir into the temp directory so we don't leave test files in the ↵cdoherty-eliminate-spec-remnants | Chris Doherty | 2014-10-15 | 1 | -0/+2 |
| | | | | | | | | source root. | ||||
* | | Remove unnecessary contexts in DSC functional specs | Adam Edwards | 2014-10-14 | 1 | -44/+36 |
| | | |||||
* | | DSC parameters should be passed even when there is no config data file | Adam Edwards | 2014-10-14 | 1 | -4/+57 |
| | | |||||
* | | Deal with nil system path in env_specjdmundrawala/env-path-spec-fix | Jay Mundrawala | 2014-10-11 | 1 | -4/+1 |
| | | |||||
* | | restore ENV['PATH'] in env_spec after test is complete | Jay Mundrawala | 2014-10-10 | 1 | -1/+3 |
| | | |||||
* | | Trying to eradicate all traces of the JSON gem from Chef | tyler-ball | 2014-10-07 | 3 | -6/+6 |
| | | |||||
* | | Cleanup commented out codebtm/group_functional_tests | Bryan McLellan | 2014-09-29 | 1 | -2/+0 |
| | | |||||
* | | Match group func tests to specification | Bryan McLellan | 2014-09-29 | 1 | -4/+9 |
| | | | | | | | | | | | | | | When a group does not exist, the group resource should raise an exception on action modify, but not on action_manage. Also update the `not_to raise_error(SpecificError)` deprecated syntax. | ||||
* | | Update guard functional tests for refactoringbtm/guard-order | Bryan McLellan | 2014-10-01 | 1 | -1/+2 |
| | | | | | | | | | | We now raise a little late when given a guard interpreter and a block, mostly being lazy. This updates the functional test to check the correct code path. | ||||
* | | Re-remove tests that were removed in 6591d4b2 | Bryan McLellan | 2014-10-01 | 1 | -20/+0 |
| | | | | | | | | | | These tests are no longer correct since we don't allow passing a block with a guard interpreter. | ||||
* | | test guard_interpreter order | Bryan McLellan | 2014-09-30 | 1 | -0/+13 |
| | | | | | | | | | | adds a functional test to ensure guard_interpreter can be set after a conditional. | ||||
* | | nest powershell guard functional tests | Bryan McLellan | 2014-09-30 | 1 | -155/+176 |
| | | | | | | | | | | | | reorder the powershell functional tests to provide a framework for testing with guard_interpreter set and not set (allowing testing the "default", i.e. values on resource initialization). | ||||
* | | update functional tests for guard_interpreter | Bryan McLellan | 2014-09-30 | 1 | -20/+6 |
| | | | | | | | | | | | | | | we now raise an error when passed a block and a guard_interpreter is specified other than :default. When other interpreters become the "default" (which actually means use the default shell for that platform) we will need to consider those as well, i.e. #1495. |