summaryrefslogtreecommitdiff
path: root/spec/integration/knife
Commit message (Collapse)AuthorAgeFilesLines
* Use windows paths without case-sensitivity.ksubrama/path_spaceKartik Null Cating-Subramanian2015-06-301-11/+13
| | | | | | Fixes #1684 Add tests for path manipulation in chef-fs. Clean up the handling of paths in chef-fs.
* fix circular references testsLamont Granquist2015-05-181-14/+8
|
* suppress cookbook self-dependencies and warnlcg/warn-cb-self-depLamont Granquist2015-05-151-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 URLsdanielsdeleo2015-04-011-3/+3
|
* Clean all RSpec test filters related to Ruby 1.8.7 (issue #2497)Xabier de Zuazo2015-01-271-1/+1
|
* define dummynode for specsawanoboly2015-01-271-4/+8
|
* Merge branch 'master' into mcquin/rspec-3Claire McQuin2014-11-071-2/+2
|\
| * Change the integration test server port from 8889 to 8890 so the test can ↵Chris Doherty2014-11-051-2/+2
| | | | | | | | | | | | succeed when being run from a Chef recipe (specifically chef-zero in test-kitchen).
* | Fix failures from pendingClaire McQuin2014-10-305-18/+18
| |
* | Update to RSpec 3.Claire McQuin2014-10-297-35/+35
|/
* Exclude knife integration tests on server platformsBryan McLellan2014-10-0916-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-ball2014-10-071-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 Cheftyler-ball2014-10-072-7/+3
|
* Remove unnecessarily added blank line.Chris Doherty2014-09-151-1/+0
|
* More single quotes around a command path.Chris Doherty2014-09-151-1/+2
|
* Fix crash when repo root does not existJohn Keiser2014-09-051-0/+6
|
* Add many comments to DataHandler and FileSystem classesJohn Keiser2014-09-051-1/+1
|
* Add org.json, members.json, invitations.json for full org downloadJohn Keiser2014-09-054-3/+358
| | | | and upload support
* Merge pull request #1583 from juliandunn/fix-hardcoded-binariesSerdar Sutay2014-09-021-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-binariesJulian C. Dunn2014-06-301-2/+3
| | | | | | | | just some random ones hanging around in $PATH.
* | Switch back to ChefZero::RSpec version 3jk/rspec_zero_3John Keiser2014-08-297-25/+163
| | | | | | | | And add some Enterprise tests (fix an acl delete issue)
* | Add `name' attribute in fixture cookbooks' metadatadanielsdeleo2014-08-122-5/+8
| |
* | Fix expected format of JSON errors in integration testsdanielsdeleo2014-08-103-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 methodsdanielsdeleo2014-08-1016-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 Granquist2014-08-091-10/+0
| | | | | | | | This reverts commit adbb0fa85cc45b93ba91dc3019094b312cafb35c.
* | remove #to_json MonkeypatchingLamont Granquist2014-08-091-0/+10
| |
* | Update tests for CHEF-4760 change.Chris Jerdonek2014-07-211-2/+2
| |
* | Turn the not applicable 0.0.0.0 address spec on windows.sersut2014-07-141-1/+2
| |
* | Support --chef-zero-port=A-B,C,D-E syntax for finding portsJohn Keiser2014-07-072-3/+50
|/
* making the chef-zero host configurable for knife and chef-clientLuke Amdor2014-06-051-0/+9
|
* Merge pull request #1442 from opscode/CHEF-5259Claire McQuin2014-05-296-0/+18
|\ | | | | Put cache at HOME/.chef if /var/chef can't be accessed.
| * create shared context for default config optionsClaire McQuin2014-05-226-17/+14
| |
| * Put cache at HOME/.chef.d if /var/chef can't be accessed.Claire McQuin2014-05-226-0/+21
| |
* | Listen for the default port 8900, not 8889John Keiser2014-05-271-2/+2
| |
* | Explicitly add org defaults to pedant testJohn Keiser2014-05-271-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 Keiser2014-05-265-14/+14
| |
* | Add "knife serve" to serve up chef repo in chef-zeroJohn Keiser2014-05-261-0/+57
|/
* Add ability to flatten parallel enumerableJohn Keiser2014-05-181-1/+1
|
* Fix data bag test to create bag before creating itemJohn Keiser2014-04-221-0/+2
|
* Fixing indentationMatt Veitas2014-03-281-1/+1
|
* Fixing an integration test that was assuming the chefignore would be only ↵Matt Veitas2014-03-281-3/+2
| | | | located in the cookbooks directory
* Upgrade Chef Zero & remove PumaSeth Vargo2014-03-122-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.8Lamont Granquist2014-01-301-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 Solarisdanielsdeleo2013-11-261-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/ knifedanielsdeleo2013-11-191-0/+109
|
* Change content type warning to debugdanielsdeleo2013-10-251-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 downloadJohn Keiser2013-10-161-0/+27
|\
| * Add test to verify all download requests are signedJohn Keiser2013-10-151-0/+27
| |
* | Prettify data when writing it out in --local-modeJohn Keiser2013-10-161-0/+22
|/
* Fix delete and cookbook update for -z parameterJohn Keiser2013-10-111-0/+331
|\