summaryrefslogtreecommitdiff
path: root/spec/functional
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #2694 - resource guards are executed in why_run modetball/guard_interpretertyler-ball2015-01-051-0/+26
|
* Merging master to audit-modetyler-ball2014-12-293-58/+102
|\
| * Merge pull request #2687 from opscode/mcquin/bugfix/search-filteringClaire McQuin2014-12-231-1/+1
| |\ | | | | | | Make search with filtering match partial_search.
| | * Build configurable search string.mcquin/bugfix/search-filteringClaire McQuin2014-12-191-1/+1
| | |
| | * Update for new rows default in search.Claire McQuin2014-12-191-1/+1
| | |
| * | Randomize service display name to fix transient test failure, and mark ↵cdoherty-fix-logon-specsChris Doherty2014-12-221-5/+6
| | | | | | | | | | | | unimplemented test as pending.
| * | Enable Windows services to run as a different user (CHEF-4921). This adds ↵cdoherty-enhance-win-serviceChris Doherty2014-12-192-57/+100
| |/ | | | | | | | | | | | | | | :run_as_user and :run_as_password attributes to the windows_service resource. If a logon user is specified, the resource will (on every run) grant the logon-as-service privilege to that user, using secedit.exe.
* | Unit tests for audit-mode in chef-solo.Claire McQuin2014-12-171-10/+41
| | | | | | | | | | * Audits are disabled by default. * Also, updated spec file to use RSpec :let.
* | Unit and functional tests for spec_formattertyler-ball2014-12-171-0/+53
| |
* | Fixing unit test adding Serverspec DSLtyler-ball2014-12-171-51/+49
| |
* | Finishing unit and functional test coverage for audit runnertyler-ball2014-12-171-51/+78
| |
* | Adding example of sandboxingtyler-ball2014-12-171-0/+80
| |
* | Test including supported serverspec helpers. Updates per PR comments.Serdar Sutay2014-12-171-2/+1
| |
* | Instructions on running audit mode examples.Serdar Sutay2014-12-172-2/+2
|/
* Merge pull request #2661 from opscode/btm/appveyor11.18.0.rBryan McLellan2014-12-171-1/+1
|\ | | | | Combination of all current PRs against master to get appveyor passing. Closes #2655, #2653, #2644, #2670.
| * Disable broken registry_spec testsbtm/appveyorJay Mundrawala2014-12-161-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 notificationstyler-ball2014-12-161-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-1901Serdar Sutay2014-12-111-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 Sutay2014-12-111-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 improvementsLamont Granquist2014-12-082-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_fixerVeres Lajos2014-11-081-1/+1
|
* Remove remaining should syntax.Claire McQuin2014-11-031-4/+4
|
* Clean up for Windows spec deprecation warnings.Claire McQuin2014-11-031-1/+1
|
* Change pending to skip.Claire McQuin2014-11-031-1/+1
|
* Fix some Windows specs.Claire McQuin2014-10-303-8/+8
|
* Merge branch 'master' into mcquin/rspec-3Claire McQuin2014-10-302-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-fixSerdar Sutay2014-10-291-4/+4
| |
| * Fix the logic that checks for existing reboot pending in reboot pending tests.Serdar Sutay2014-10-281-15/+15
| |
| * Make sure the event log related capability is turned off on Windows 2003 ↵Serdar Sutay2014-10-281-5/+5
| | | | | | | | boxes since it's not supported.
* | Fix failures from pendingClaire McQuin2014-10-301-4/+4
| |
* | Update to RSpec 3.Claire McQuin2014-10-2942-772/+770
|/
* @hourly not supported in aix cronskaustubh-d2014-10-281-2/+2
|
* fix bff spec by setting os attribute on node so that approriate provider is ↵kaustubh-d2014-10-281-0/+1
| | | | found.
* Set guard_interpreter using default_guard_interpreterAdam Edwards2014-10-231-19/+24
|
* powershell_script and batch resource guard_interpeter default to parent resourceAdam Edwards2014-10-232-11/+11
|
* Use windows evt log by default on windowsJay Mundrawala2014-10-221-3/+7
|
* Guard windows specific includes in specJay Mundrawala2014-10-221-2/+4
|
* Copy-pasta errorJay Mundrawala2014-10-221-1/+1
|
* Added spec for windows event loggerJay Mundrawala2014-10-221-0/+76
|
* Merge pull request #2249 from opscode/jdmundrawala/delete-envJay Mundrawala2014-10-211-0/+9
|\ | | | | Ensure delete ENV[var] from current process
| * spec to ensure deleting ENV[var] from current process worksjdmundrawala/delete-envJay Mundrawala2014-10-211-0/+9
| |
* | Merge pull request #2028 from ClogenyTechnologies/kd/aix-serviceSerdar Sutay2014-10-214-0/+392
|\ \ | |/ |/| aix service provider
| * fixed functional testskaustubh-d2014-09-234-92/+132
| |
| * fix copyrightkaustubh2014-09-221-1/+1
| |
| * mark test aix only, and correct copyrightkaustubh2014-09-221-2/+2
| |
| * functional specs for aix service providerkaustubh-d2014-09-194-0/+352
| |
* | Missed one spec in rpm_spec.rb.sersut/chef-rc-fixes-2Serdar Sutay2014-10-201-2/+2
| |
* | Refer to rpm assets with the full path in specs.Serdar Sutay2014-10-201-2/+3
| |
* | Fix cron specs on Solaris.Serdar Sutay2014-10-201-1/+7
| |
* | Enable guard_interpreters for the execute resource and set the default ↵Serdar Sutay2014-10-161-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.