summaryrefslogtreecommitdiff
path: root/spec/functional
Commit message (Collapse)AuthorAgeFilesLines
* Dont run useradd_spec on osxjdm/osxJay Mundrawala2015-03-091-0/+1
|
* Modify dscl_spec to runJay Mundrawala2015-03-091-1/+0
|
* 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.
* Group spec needs to respond to shell_outjdm/group-spec-fixJay Mundrawala2015-02-191-0/+3
|
* Merge pull request #2924 from chef/btm/popen_shellout_rebaseJay Mundrawala2015-02-192-1/+4
|\ | | | | fix aix related providers to replace popen4 with mixlib shell_out
| * fix aix related providers to replace popen4 with mixlib shell_outkaustubh-d2015-02-172-1/+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
|/
* Merge pull request #2758 from chef/mcquin/control_groupSerdar Sutay2015-02-111-5/+5
|\ | | | | Change audit DSL method controls to control_group.
| * Update DSL method name to controls_group.mcquin/control_groupClaire McQuin2015-01-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to use control_group. Unify wording along control_group. Unify wording along control_group. Fix typo. Enable audit mode. Update to use control_group syntax. Update for audit DSL changes. Update for audit DSL change.
* | Fixing Rspec 3.2 update. We were overriding private APIs which changed.tball/rspec32-fixtyler-ball2015-02-042-4/+6
| |
* | Fixed typo in test from #2823.Julian C. Dunn2015-01-281-1/+1
| | | | | | | | See https://github.com/chef/chef/commit/f445869cfa26b17e22a4266c58907b3619b749ae#commitcomment-9471756
* | EncryptedDataBagItem: remove Cipher#auth_data method existence check (ruby ↵Xabier de Zuazo2015-01-271-3/+1
| | | | | | | | 1.8 specific, issue #2497)
* | Remove binread functions (ruby 1.8 specific, issue #2497)Xabier de Zuazo2015-01-271-10/+1
| |
* | userdel functional test fixkaustubh-d2015-01-271-5/+18
| |
* | Merge pull request #2717 from chef/tball/guard_interpreterTyler Ball2015-01-261-0/+26
|\ \ | | | | | | Guard resources are executed in why_run mode
| * | Fixing #2694 - resource guards are executed in why_run modetball/guard_interpretertyler-ball2015-01-051-0/+26
| | |
* | | Added spec for issue #2348jdm/powershell-2348Jay Mundrawala2015-01-191-0/+15
| |/ |/|
* | Merge pull request #2686 from opscode/jdm/disable-execute-timeout-winJay Mundrawala2015-01-121-3/+6
|\ \ | |/ |/| Fail execute test if it takes too long
| * Execute spec should actually check to make sure it did not wait for 600 secondsjdm/disable-execute-timeout-winJay Mundrawala2014-12-181-3/+6
| |
* | 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.