Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update all auth email address from opscode.com and getchef.com to chef.io. | Noah Kantrowitz | 2016-02-02 | 3 | -5/+5 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi" | ||||
* | Replace all Opscode copyrights with Chef Software. | Noah Kantrowitz | 2016-02-02 | 2 | -2/+2 |
| | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi" | ||||
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 3 | -3/+3 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g" | ||||
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 1 | -2/+2 |
| | | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book. | ||||
* | Use double quotes by default | Thom May | 2016-01-14 | 3 | -26/+26 |
| | | | | | | | 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. | ||||
* | autocorrecting Style/TrailingCommalcg/trailing_comma | Lamont Granquist | 2016-01-13 | 2 | -2/+2 |
| | | | | chefstyle -a fixed 1044 occurrances | ||||
* | bump up timeout for travis | Lamont Granquist | 2015-12-11 | 1 | -2/+2 |
| | |||||
* | immediately_before -> before | John Keiser | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Fix tests | John Keiser | 2015-12-09 | 1 | -0/+6 |
| | |||||
* | Add tests for resource naming and creation | John Keiser | 2015-05-13 | 1 | -5/+6 |
| | |||||
* | Use expect syntax. | Claire McQuin | 2014-10-29 | 1 | -5/+8 |
| | |||||
* | Found some JSON pretty printing statements I missed | tyler-ball | 2014-10-07 | 1 | -1/+1 |
| | |||||
* | Gross hack: silence the mysterious post-test cleanup error while we investigate. | Chris Doherty | 2014-09-15 | 1 | -1/+4 |
| | |||||
* | Add org.json, members.json, invitations.json for full org download | John Keiser | 2014-09-05 | 1 | -5/+7 |
| | | | | and upload support | ||||
* | Switch back to ChefZero::RSpec version 3jk/rspec_zero_3 | John Keiser | 2014-08-29 | 2 | -145/+5 |
| | | | | And add some Enterprise tests (fix an acl delete issue) | ||||
* | remove JSON gem usage | Lamont Granquist | 2014-08-11 | 1 | -1/+0 |
| | | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl. | ||||
* | Fix expected format of JSON errors in integration tests | danielsdeleo | 2014-08-10 | 1 | -1/+1 |
| | | | | | | | | The format was previously not stable because chef-zero (or other test code) would `require 'json'` and undo ffi-yajl's monkey patches to the JSON gem. We would probably be better off if we can get out of the business of monkeypatching JSON or attempting to provide compatibility at all, in which case this commit could be reverted. | ||||
* | Convert Chef Zero helpers to instance methods | danielsdeleo | 2014-08-10 | 2 | -97/+229 |
| | | | | | | | | | | | | | * Prefer instance methods to class methods for Chef Zero helpers. RSpec's design and feature set heavily favors using instance methods for test setup. This change will allow us to use let bindings and more naturally move common setup to shared contexts. * Temporarily copy ChefZero's RSpec features in-repo. master of Chef Zero is currently broken for unit testing. Copy the changes here for now so we can make progress. * Automatically generate a metadata file when using the "cookbook" helper function. This will be needed for a subsequent change that makes `name' required in metadata. | ||||
* | Upgrade Chef Zero & remove Puma | Seth Vargo | 2014-03-12 | 2 | -0/+43 |
| | | | | | | | This commit upgrades Chef Zero to version 2.0.0, which removed Puma entirely. Chef no longer requires Puma at runtime, so it can be moved into the development gem group. Chef Zero 2.0 runs entirely in WEBrick and also uses less memory and a more direct threading approach. | ||||
* | Add tests for start_chef_zero parameter in knife | John Keiser | 2013-10-02 | 1 | -1/+1 |
| | |||||
* | Reset configuration before each test | John Keiser | 2013-09-16 | 1 | -9/+0 |
| | |||||
* | Use Chef::Config.reset in tests instead of save/load config | John Keiser | 2013-09-13 | 2 | -10/+7 |
| | |||||
* | Make chef_repo_path globally accessible across knife and chef-client | John Keiser | 2013-08-28 | 1 | -8/+3 |
| | |||||
* | Add missing license to integration test files. | sersut | 2013-06-14 | 1 | -0/+17 |
| | |||||
* | Prevent integration tests from loading real config | danielsdeleo | 2013-06-10 | 1 | -0/+15 |
| | | | | | | | | | | knife integration tests were picking up default config and therefore pointing at a chef-server other than the chef-zero test instance. This could potentially lead to data loss or manglement if the test code successfully runs against a production chef-server/org. To prevent the above, load a dummy config file with an added failsafe mechanism to ensure we've not loaded a real one. | ||||
* | Restore Chef::Config after each test | John Keiser | 2013-06-07 | 1 | -4/+4 |
| | |||||
* | Don't load dependencies unless you run the command! | John Keiser | 2013-06-07 | 1 | -2/+3 |
| | |||||
* | Set cache dir to tmp for systems where we don't own /var | John Keiser | 2013-06-07 | 1 | -36/+47 |
| | |||||
* | Include Chef::Config before rspec to work with new Chef::Config detection in ↵ | John Keiser | 2013-06-07 | 1 | -1/+1 |
| | | | | chef-zero | ||||
* | Parallelize diff, download and upload | John Keiser | 2013-06-07 | 1 | -0/+4 |
| | |||||
* | Reset config variables before each integration test | jkeiser | 2013-06-07 | 1 | -1/+12 |
| | |||||
* | Delete unused spec helpers | jkeiser | 2013-06-07 | 1 | -141/+0 |
| | |||||
* | [SPEC] Added versioned cookbooks spec for diff | Ho-Sheng Hsiao | 2013-06-07 | 1 | -5/+9 |
| | |||||
* | [SPEC] Added upload and download specs with cookbook versions | Ho-Sheng Hsiao | 2013-06-07 | 1 | -11/+69 |
| | | | | - Specs assume that Chef requires name attribute in the metadata | ||||
* | [SPEC] Reorganized download, upload, and diff integration specs | Ho-Sheng Hsiao | 2013-06-07 | 1 | -16/+101 |
| | | | | | | - Added one_of_each_resource_in_chef_server macro - Added one_of_each_resource_in_repository macro - Reorganized specs so that adding in versioned cookbooks specs will be easier | ||||
* | [SPEC] Added versioned cookbook helpers, added some upload specs | Ho-Sheng Hsiao | 2013-06-07 | 1 | -0/+21 |
| | |||||
* | [COOKBOOKS] Fixed regressions when versioned_cookbooks is false | Ho-Sheng Hsiao | 2013-06-07 | 1 | -2/+4 |
| | |||||
* | Don't care about line ending differences on Windows | John Keiser | 2013-06-07 | 1 | -2/+7 |
| | |||||
* | More knife upload tests, fix cookbook read not to warn | jkeiser | 2013-06-07 | 1 | -5/+5 |
| | |||||
* | Add knife upload tests; print warnings/errors on undeleteable things | jkeiser | 2013-06-07 | 1 | -2/+14 |
| | |||||
* | Fix bug where it thought you were in "cookbooks1" when you were really in ↵ | jkeiser | 2013-06-07 | 1 | -4/+9 |
| | | | | "cookbooks123" | ||||
* | Make cwd detection work when repo dir is a symlink | jkeiser | 2013-06-07 | 1 | -0/+28 |
| | |||||
* | Capture Chef::Log warnings and errors in tests | jkeiser | 2013-06-07 | 1 | -0/+12 |
| | |||||
* | Remove old knife() test helpers, convert holdouts to new ↵ | jkeiser | 2013-06-07 | 1 | -47/+39 |
| | | | | .should_fail/should_succeed | ||||
* | Make deps report error when file does not exist | jkeiser | 2013-06-07 | 1 | -2/+52 |
| | |||||
* | Fix deps errors, --no-recurse, add deps tests | jkeiser | 2013-06-07 | 1 | -11/+19 |
| | |||||
* | Don't display/diff empty/ignored cookbook directories | jkeiser | 2013-06-07 | 1 | -7/+9 |
| | | | | Also, add many chefignore tests | ||||
* | Tests for empty and extra files/directories | jkeiser | 2013-06-07 | 1 | -2/+10 |
| | |||||
* | Add error test (missing file) | jkeiser | 2013-06-07 | 1 | -3/+5 |
| | |||||
* | Add --local tests, repository file/dir DSL | jkeiser | 2013-06-07 | 1 | -25/+37 |
| |