summaryrefslogtreecommitdiff
path: root/spec/unit/client_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Disable unforked interval runs.Claire McQuin2014-10-011-25/+0
| | | | | | | | | | Clarify error message. Move fork and interval logic to application (specs pending). Clean code logic, fix specs. Allow unforked client runs with daemonize or splay
* Put cache at HOME/.chef.d if /var/chef can't be accessed.Claire McQuin2014-05-221-0/+1
|
* update stubs for new node.save behaviorClaire McQuin2014-05-151-2/+3
|
* Removed puts for testingJoe Richards2014-04-011-1/+0
|
* Added unit test for setting chef environment to single characterJoe Richards2014-04-011-0/+17
|
* add specs for setting nodename based on machinenameLamont Granquist2014-03-051-0/+37
|
* Add permanent run list modification option to Chef::Clientdanielsdeleo2014-02-201-2/+34
|
* Modernize and organize Chef::Client specsdanielsdeleo2014-02-201-233/+279
|
* - Adding X-Remote-Request-Id to the set of headers for every request from ↵PrajaktaPurohit2014-02-071-1/+2
| | | | | | | | | | CCR and knife that will be sent to erchef - Each knife request has a different X-Remote-Request-Id, where as it remains the same for all requests originating from the same chef-client run. - Adding and fixing tests
* [CHEF-3506] suppress final node save when using override run listdanielsdeleo2014-02-031-2/+2
|
* fix should_not raise_error(SpecificException)Lamont Granquist2014-01-291-2/+2
|
* s/mock\(/double(/gLamont Granquist2014-01-291-8/+8
|
* s/stub!/stub/gLamont Granquist2014-01-291-11/+11
| | | | fix deprecation warnings
* Return node from Chef::Client#build_nodedanielsdeleo2014-01-231-1/+3
|
* Extract policy building concerns from Chef::Clientdanielsdeleo2014-01-141-3/+8
| | | | | | Chef::Client has too many responsibilities that are difficult to test in isolation. Refactor them out to an implementation class. This is a prerequsite for providing alternative policy building strategies.
* Modify a message when any cookbook is not found.Ryota Arai2013-11-261-1/+1
|
* Raise an error if any directory of `cookbook_path` contains no cookbook.Ryota Arai2013-11-261-1/+1
|
* Raise CookbookNotFound error if any directory of cookbook_path contains no ↵Ryota Arai2013-11-261-0/+14
| | | | cookbook.
* Remove an unused variable in spec/unit/client_spec.rbRyota Arai2013-10-301-1/+0
| | | | No longer mock_chef_rest_for_client is not used.
* Make waiting for the release of the lock optional in RunLock class.sersut2013-10-071-0/+1
|
* Start chef-client in new process when it is run as a service on windowsMukta A2013-10-041-0/+1
|
* Don't bother cleaning up Chef::Config after tests or initializing things to ↵John Keiser2013-09-161-18/+0
| | | | default values before
* Fix windows tests in CI due to fork change.sersut2013-06-141-2/+2
|
* CHEF-4010: Test to ensure we release the run_lock if we fail in #load_nodeBryan McLellan2013-04-111-0/+19
|
* Fix typo: privilage -> privilegesersut2013-01-221-6/+6
|
* Include windows admin privilege check in chef-solo as well.sersut2013-01-221-16/+0
|
* Tests for the windows admin privilege check logic.sersut2013-01-221-0/+78
|
* [CHEF-3689] use ApiClient::Registration to registerdanielsdeleo2012-12-181-3/+1
|
* Change default output to formatters when in consoledanielsdeleo2012-11-201-1/+113
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+290
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-61/+0
| | | | all with proper deps
* Changing the license on the spec files as wellAdam Jacob2008-08-171-13/+11
|
* Huge amount of work, covering openid, clients, and all sorts of server stuffAdam Jacob2008-06-091-0/+63