summaryrefslogtreecommitdiff
path: root/spec/unit/shell
Commit message (Collapse)AuthorAgeFilesLines
* Use double quotes by defaultThom May2016-01-143-10/+10
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-111-2/+2
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Update to RSpec 3.Claire McQuin2014-10-293-69/+69
|
* Refactoring ResourceCollection interface to be backwards compatiable, all ↵tyler-ball2014-10-161-1/+1
| | | | specs continue to pass, removing ResourceSet and ResourceList from consumer knowledge
* Make FileVendor configuration specific to the two implementationsdanielsdeleo2014-07-301-0/+2
| | | | | | | | | | | | | | | | FileVendor previously was configured by storing a closure/anonymous function as a class instance variable. This had the following downsides: * The API was too general, which caused a lot of code repetition * The block was lazily evaluated, which hid errors and made testing more difficult * The closures captured references to classes with references to large data structures, which complicates GC. Since we've only ever had the same two implementations of FileVendor, we can encapsulate configuration of the FileVendor factory by wrapping each configuration option in a method. As a side benefit, arguments to these methods will be eagerly evaluated, which makes it easier to detect errors.
* [CHEF-5314] Add unit and fucntional specsRyan Cragun2014-05-201-2/+42
|
* remove some more deprecation warningsLamont Granquist2014-01-291-1/+1
|
* s/mock\(/double(/gLamont Granquist2014-01-293-7/+7
|
* s/stub!/stub/gLamont Granquist2014-01-293-18/+18
| | | | fix deprecation warnings
* [CHEF-2467] Add tests and fix grammar.Steven Danna2013-04-181-2/+15
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-303-0/+391
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!