summaryrefslogtreecommitdiff
path: root/spec/unit/util
Commit message (Collapse)AuthorAgeFilesLines
* Try to apply dsc configuration even if what-if failsjdmundrawala/issue-2169Jay Mundrawala2014-10-081-4/+4
|
* Add spec for escape_glob with multiple path parts.Claire McQuin2014-09-241-0/+14
|
* Add method to escape glob reserved characters.Claire McQuin2014-09-221-1/+9
|
* lcm parser is a lot more forgivingJay Mundrawala2014-09-191-27/+18
|
* configuration_generator_spec uses newer rspec conventionsJay Mundrawala2014-09-191-33/+31
|
* Switch fileformat to unix, clean up whitespace.Bryan McLellan2014-09-192-135/+135
| | | | | Converts a few files from CRLF->LF. Removes some trailing whitespace as well.
* Correctly handle dsc resource import failuresAdam Edwards2014-09-192-2/+136
|
* Deal with LCM failing when a resource does not support WhatIfJay Mundrawala2014-09-191-18/+30
|
* Added unit test for powershell cmdletJay Mundrawala2014-09-191-0/+106
|
* DSC: Added test for dsc_script providerAdam Edwards2014-09-191-2/+2
|
* Added unit tests for configuration_generatorJay Mundrawala2014-09-191-0/+173
|
* Parse WhatIf from LCMJay Mundrawala2014-09-191-0/+166
|
* Unit spec, Ruby Pathname class on Windows does not remove leading duplicate ↵Adam Edwards2014-08-301-1/+1
| | | | path separators
* Make join work properly with leading slashesJohn Keiser2014-08-301-2/+7
|
* Move Chef::Config path functions to Chef::Util::PathHelperJohn Keiser2014-08-301-28/+106
|
* Updated selinux path check to allow for directories that have a space in the ↵Scott Hain2014-06-171-4/+4
| | | | name. Fixes CHEF-5095
* CHEF-5322: Add utility for validating Windows pathsBryan McLellan2014-06-051-0/+136
|
* CHEF-4423: extract cookbook upload threaded queue into utility classNikhil Benesch2014-05-131-0/+51
|
* CHEF-3714: Update file_edited? for FileEdit refactorBryan McLellan2014-03-191-2/+3
|
* CHEF-3714 - Method returns if a file was editedNanuk Krinner2014-03-191-0/+7
| | | | | | Implement a method in Chef::Util::FileEdit that returns if a file was edited This commit contains the method originally written by rhafer@suse.com and a unit test.
* CHEF-3714: Update tests for changes from CHEF-5018Bryan McLellan2014-03-191-8/+18
| | | | Signed-off-by: Bryan McLellan <btm@opscode.com>
* CHEF-4173: Test that insert_line_if_no_match works more than onceChris Bandy2014-03-191-0/+8
|
* CHEF-3714: New method to advertise unwritten editsChris Bandy2014-03-191-0/+9
|
* CHEF-3714: Use Editor to manipulate textChris Bandy2014-03-191-0/+1
|
* CHEF-3714: New object dedicated to manipulating textChris Bandy2014-03-191-0/+152
|
* CHEF-3838: add spec helper per PR feedbackLamont Granquist2014-02-111-9/+13
|
* CHEF-5018: specific test for CHEF-5018Lamont Granquist2014-02-101-1/+6
| | | | | | | | | This tests actually goes red with the bug and green when its fixed. It actually worked fine when @contants was an IO object instead of an Array because the #each method worked identially on both. However, there's a monkeypatch in the wilds that did @contents << "thing" and that broke when it became an IO object accidentally.
* CHEF-5018: better spec testsLamont Granquist2014-02-101-53/+97
|
* s/mock\(/double(/gLamont Granquist2014-01-292-4/+4
|
* s/stub!/stub/gLamont Granquist2014-01-291-4/+4
| | | | fix deprecation warnings
* Add diff specs with spaces in the file path.sersut2013-10-211-15/+37
|
* [CHEF-4529]sawanoboly2013-10-041-6/+6
| | | | | | | | | | backup filename minutely. backup filename minutely. Fix: fail on 1.8.7 code cleanup
* Don't bother cleaning up Chef::Config after tests or initializing things to ↵John Keiser2013-09-161-7/+0
| | | | default values before
* Reset configuration before each testJohn Keiser2013-09-161-9/+0
|
* Use Chef::Config.reset in tests instead of save/load configJohn Keiser2013-09-131-4/+5
|
* shell_out to diff => diff-lcs, cleaned up tests, updated gem versionsClaire McQuin2013-07-161-31/+0
|
* this should have been reverted to old behavior, causes failures onLamont Granquist2013-07-031-1/+1
| | | | solaris
* many bugs:Lamont Granquist2013-06-281-12/+352
| | | | | | | - multiline is_binary? regex was broken - multiline rspec tests were all broken - Tempfile.new was a big no-op on several tests - lots of support for handling different encodings and UTF-8 output
* refactor test to be more explict about expectationsdanielsdeleo2013-05-301-6/+4
|
* ensure selinux test runs w/ clean statedanielsdeleo2013-05-301-1/+1
|
* Changed based on PR comments.sersut2013-05-281-12/+32
|
* Unit specs for selinux code.sersut2013-05-231-0/+154
|
* Fix comments that include FIXME / TODO / XXX.sersut2013-05-201-2/+0
|
* add back diffing against no file for why-run modeLamont Granquist2013-03-291-4/+4
|
* windows needs an explicit close before unlinkLamont Granquist2013-03-181-0/+2
|
* refactoring of file providersLamont Granquist2013-03-152-0/+405
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+135
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!