Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use windows paths without case-sensitivity.ksubrama/path_space | Kartik Null Cating-Subramanian | 2015-06-30 | 1 | -11/+13 |
| | | | | | | Fixes #1684 Add tests for path manipulation in chef-fs. Clean up the handling of paths in chef-fs. | ||||
* | fix circular references tests | Lamont Granquist | 2015-05-18 | 1 | -14/+8 |
| | |||||
* | suppress cookbook self-dependencies and warnlcg/warn-cb-self-dep | Lamont Granquist | 2015-05-15 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | cookbooks with self-deps: name 'foo' depends 'foo' are useless and can waste cycles in the depsolver (particularly in the non-solution case), and likely limit the possible choices of depsolvers that we could pick at some point to replace gecode. filtering out the self-dep here will prevent the chef server depsolver from seeing the self-dep and needing to do the work to strip it. also warn the user so that they can remove the self-dep. in the future this will be a hard error. foodcritic also has a rule about removing these. | ||||
* | Update integration tests for chefzero URLs | danielsdeleo | 2015-04-01 | 1 | -3/+3 |
| | |||||
* | Clean all RSpec test filters related to Ruby 1.8.7 (issue #2497) | Xabier de Zuazo | 2015-01-27 | 1 | -1/+1 |
| | |||||
* | define dummynode for spec | sawanoboly | 2015-01-27 | 1 | -4/+8 |
| | |||||
* | Merge branch 'master' into mcquin/rspec-3 | Claire McQuin | 2014-11-07 | 1 | -2/+2 |
|\ | |||||
| * | Change the integration test server port from 8889 to 8890 so the test can ↵ | Chris Doherty | 2014-11-05 | 1 | -2/+2 |
| | | | | | | | | | | | | succeed when being run from a Chef recipe (specifically chef-zero in test-kitchen). | ||||
* | | Fix failures from pending | Claire McQuin | 2014-10-30 | 5 | -18/+18 |
| | | |||||
* | | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 7 | -35/+35 |
|/ | |||||
* | Exclude knife integration tests on server platforms | Bryan McLellan | 2014-10-09 | 16 | -16/+16 |
| | | | | | | Not all platforms (looking at you solaris) need bother running the knife tests because we don't consider them to be workstation platforms. Excluding them will reduce transient failures and speed up the tests. | ||||
* | Fixing failing tests. The earlier changes I made to this file were caused ↵ | tyler-ball | 2014-10-07 | 1 | -0/+5 |
| | | | | by missing JSON printers that I left around. Once I fixed those, the original changes I made to this test were unneeded. | ||||
* | Trying to eradicate all traces of the JSON gem from Chef | tyler-ball | 2014-10-07 | 2 | -7/+3 |
| | |||||
* | Remove unnecessarily added blank line. | Chris Doherty | 2014-09-15 | 1 | -1/+0 |
| | |||||
* | More single quotes around a command path. | Chris Doherty | 2014-09-15 | 1 | -1/+2 |
| | |||||
* | Fix crash when repo root does not exist | John Keiser | 2014-09-05 | 1 | -0/+6 |
| | |||||
* | Add many comments to DataHandler and FileSystem classes | John Keiser | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | Add org.json, members.json, invitations.json for full org download | John Keiser | 2014-09-05 | 4 | -3/+358 |
| | | | | and upload support | ||||
* | Merge pull request #1583 from juliandunn/fix-hardcoded-binaries | Serdar Sutay | 2014-09-02 | 1 | -2/+3 |
|\ | | | | | Make sure to call chef-client and knife that we just built | ||||
| * | Make sure to call chef-client and knife that we just built, notbtm/fix-hardcoded-binaries | Julian C. Dunn | 2014-06-30 | 1 | -2/+3 |
| | | | | | | | | just some random ones hanging around in $PATH. | ||||
* | | Switch back to ChefZero::RSpec version 3jk/rspec_zero_3 | John Keiser | 2014-08-29 | 7 | -25/+163 |
| | | | | | | | | And add some Enterprise tests (fix an acl delete issue) | ||||
* | | Add `name' attribute in fixture cookbooks' metadata | danielsdeleo | 2014-08-12 | 2 | -5/+8 |
| | | |||||
* | | Fix expected format of JSON errors in integration tests | danielsdeleo | 2014-08-10 | 3 | -44/+31 |
| | | | | | | | | | | | | | | | | 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 | 16 | -890/+1384 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | | Revert "remove #to_json Monkeytpatching" | Lamont Granquist | 2014-08-09 | 1 | -10/+0 |
| | | | | | | | | This reverts commit adbb0fa85cc45b93ba91dc3019094b312cafb35c. | ||||
* | | remove #to_json Monkeypatching | Lamont Granquist | 2014-08-09 | 1 | -0/+10 |
| | | |||||
* | | Update tests for CHEF-4760 change. | Chris Jerdonek | 2014-07-21 | 1 | -2/+2 |
| | | |||||
* | | Turn the not applicable 0.0.0.0 address spec on windows. | sersut | 2014-07-14 | 1 | -1/+2 |
| | | |||||
* | | Support --chef-zero-port=A-B,C,D-E syntax for finding ports | John Keiser | 2014-07-07 | 2 | -3/+50 |
|/ | |||||
* | making the chef-zero host configurable for knife and chef-client | Luke Amdor | 2014-06-05 | 1 | -0/+9 |
| | |||||
* | Merge pull request #1442 from opscode/CHEF-5259 | Claire McQuin | 2014-05-29 | 6 | -0/+18 |
|\ | | | | | Put cache at HOME/.chef if /var/chef can't be accessed. | ||||
| * | create shared context for default config options | Claire McQuin | 2014-05-22 | 6 | -17/+14 |
| | | |||||
| * | Put cache at HOME/.chef.d if /var/chef can't be accessed. | Claire McQuin | 2014-05-22 | 6 | -0/+21 |
| | | |||||
* | | Listen for the default port 8900, not 8889 | John Keiser | 2014-05-27 | 1 | -2/+2 |
| | | |||||
* | | Explicitly add org defaults to pedant test | John Keiser | 2014-05-27 | 1 | -2/+2 |
| | | | | | | | | | | so that it passes, but don't feed the defaults to the user by default. | ||||
* | | React to fact that we bind chef-zero to localhost (not 127.*) | John Keiser | 2014-05-26 | 5 | -14/+14 |
| | | |||||
* | | Add "knife serve" to serve up chef repo in chef-zero | John Keiser | 2014-05-26 | 1 | -0/+57 |
|/ | |||||
* | Add ability to flatten parallel enumerable | John Keiser | 2014-05-18 | 1 | -1/+1 |
| | |||||
* | Fix data bag test to create bag before creating item | John Keiser | 2014-04-22 | 1 | -0/+2 |
| | |||||
* | Fixing indentation | Matt Veitas | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | Fixing an integration test that was assuming the chefignore would be only ↵ | Matt Veitas | 2014-03-28 | 1 | -3/+2 |
| | | | | located in the cookbooks directory | ||||
* | Upgrade Chef Zero & remove Puma | Seth Vargo | 2014-03-12 | 2 | -27/+14 |
| | | | | | | | 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. | ||||
* | omit test on ruby-1.8 | Lamont Granquist | 2014-01-30 | 1 | -1/+1 |
| | | | | | | rspec and ruby-1.8 don't play well with this test: https://github.com/rspec/rspec-mocks/issues/549 | ||||
* | Skip IPv6 tests on Solaris | danielsdeleo | 2013-11-26 | 1 | -1/+3 |
| | | | | | | Some supported Solaris platforms are too old for IPv6. Most of the risk in the code paths being tested exists in the userland code, so we expect to have adequate coverage as long as the tests run on some platform. | ||||
* | Test cookbook upload/download over IPv6 w/ knife | danielsdeleo | 2013-11-19 | 1 | -0/+109 |
| | |||||
* | Change content type warning to debug | danielsdeleo | 2013-10-25 | 1 | -2/+2 |
| | | | | | There are certain legitimate cases where this occurs and nothing is actually wrong, so don't bother users with it. | ||||
* | Sign requests to download cookbook files in knife download | John Keiser | 2013-10-16 | 1 | -0/+27 |
|\ | |||||
| * | Add test to verify all download requests are signed | John Keiser | 2013-10-15 | 1 | -0/+27 |
| | | |||||
* | | Prettify data when writing it out in --local-mode | John Keiser | 2013-10-16 | 1 | -0/+22 |
|/ | |||||
* | Fix delete and cookbook update for -z parameter | John Keiser | 2013-10-11 | 1 | -0/+331 |
|\ |