Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix knife plugin path searching | Lamont Granquist | 2014-12-03 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | Unreleased Chef 12.0.0 bug caught in testing where only the searching upwards from PWD to find .chef in order to get the plugin path for knife was busted. The chef_config_dir was being used before load_config was being called, so it was nil, which broke finding knife plugins. This was fixed by adding some lazy initialization of the config_loader object itself and the chef_config_dir. The reset_config_loader! is added entirely to reset the global state for unit testing. This whole class is a bit horrible and needs to have all its global state removed from it, class methods removed, class ivars and the class-variable-in-a-class-method-for-inheritance-lolwut needs to be removed. Unfortunately, that requires some delicate surgery because Chef::Knife gets used as a public API, and is beyond the scope of gettting Chef 12 shipped. | ||||
* | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 1 | -31/+31 |
| | |||||
* | Prevent knife application test from reloading code | danielsdeleo | 2014-04-24 | 1 | -0/+3 |
| | |||||
* | Prevent tests from overriding rspec's trap handler | danielsdeleo | 2014-04-24 | 1 | -0/+1 |
| | | | | Otherwise you cannot ctrl-C the tests. | ||||
* | s/mock\(/double(/g | Lamont Granquist | 2014-01-29 | 1 | -2/+2 |
| | |||||
* | s/stub!/stub/g | Lamont Granquist | 2014-01-29 | 1 | -3/+3 |
| | | | | fix deprecation warnings | ||||
* | rephrase messages related to colored output options change. | kaustubh-d | 2013-05-13 | 1 | -1/+1 |
| | |||||
* | test case for colored output flag for knife | kaustubh-d | 2013-05-13 | 1 | -0/+12 |
| | |||||
* | [CHEF-3497] apply config in the desired order | danielsdeleo | 2013-01-14 | 1 | -0/+5 |
| | | | | | | | | | Takes advantage of new mixlib-cli option to keep default values from the mixlib-cli DSL separate from user-supplied values. Config settings are merged: 1. Defaults from mixlib-cli DSL 2. Settings from Chef::Config[:knife] 3. Values from CLI options | ||||
* | [OC-3564] move core Chef to the repo root \o/ \m/ | Seth Chisamore | 2012-10-30 | 1 | -0/+152 |
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo! |