summaryrefslogtreecommitdiff
path: root/spec/integration/knife/deps_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix Layout/IndentHeredocLamont Granquist2018-07-021-128/+128
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-57/+57
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Link to the knife.rb docs when the knife.rb file is missingknife_rbTim Smith2018-01-221-2/+2
| | | | | | This is a pretty common first error message to experience with Chef. Let's point the users to a helpful location so they can quickly get up and running. Add some YARD comments while I was in the config class Signed-off-by: Tim Smith <tsmith@chef.io>
* self-deps are now just illegalLamont Granquist2017-02-281-9/+5
| | | | | | circular deps are poor form, but allowed, so we still need to check. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix some tests that were just wrongThom May2016-05-051-5/+5
|
* Introduce display_name and use itThom May2016-05-051-2/+2
| | | | | | | | This allows us to use the path we produce for other display purposes and consume it internally to have a canonical path for comparisons and printing Signed-off-by: Thom May <thom@may.lt>
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-23/+23
| | | | no enforced trailing comma on arguments...
* deal with 0.37.2 renamed copsLamont Granquist2016-02-181-2/+2
| | | | | | | | | | | | | | | 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new?
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | 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 Kantrowitz2016-02-021-1/+1
| | | 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 Kantrowitz2016-02-021-1/+1
| | | 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/percentliteraldelimetersLamont Granquist2016-01-181-8/+8
| | | | | | 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 defaultThom May2016-01-141-278/+278
| | | | | | | 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_commaLamont Granquist2016-01-131-21/+21
| | | | chefstyle -a fixed 1044 occurrances
* fix circular references testsLamont Granquist2015-05-181-14/+8
|
* Update to RSpec 3.Claire McQuin2014-10-291-4/+4
|
* Exclude knife integration tests on server platformsBryan McLellan2014-10-091-1/+1
| | | | | | 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.
* Switch back to ChefZero::RSpec version 3jk/rspec_zero_3John Keiser2014-08-291-20/+30
| | | | And add some Enterprise tests (fix an acl delete issue)
* Convert Chef Zero helpers to instance methodsdanielsdeleo2014-08-101-94/+145
| | | | | | | | | | | | | * 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.
* create shared context for default config optionsClaire McQuin2014-05-221-4/+3
|
* Put cache at HOME/.chef.d if /var/chef can't be accessed.Claire McQuin2014-05-221-0/+4
|
* Add missing license to integration test files.sersut2013-06-141-0/+17
|
* Minor test description fixesJohn Keiser2013-06-071-1/+1
|
* Don't specify --repo-mode=everything in tests now that it is the defaultJohn Keiser2013-06-071-20/+20
|
* Replace join("\n") with stringjkeiser2013-06-071-20/+20
|
* [SPEC] Added name attribute to deps specHo-Sheng Hsiao2013-06-071-32/+32
|
* Add knife deps tests for local filesjkeiser2013-06-071-3/+320
|
* Don't report _default env in knife depsjkeiser2013-06-071-7/+2
|
* Make deps report error when file does not existjkeiser2013-06-071-95/+106
|
* Fix deps errors, --no-recurse, add deps testsjkeiser2013-06-071-0/+308