summaryrefslogtreecommitdiff
path: root/spec/integration/knife/chef_repo_path_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Windows Integration and Functional tests for BKJaymala Sinha2019-09-271-2/+4
| | | | | | | | | * Use default windows 2019 image * Skip 8dot3name tests as default disabled on 2019 * Use windows privileged executor for functional tests * Use windows docker image for chocolatey tests Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Style/StringLiteralsInInterpolationLamont Granquist2019-07-051-4/+4
| | | | | | since we use double quotes, be consistent everywhere. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* changes for rubocop engine upgrades.lcg/rubocop-upgradesLamont Granquist2019-01-151-38/+38
| | | | | | | this is the result of changes to rules we already previously had enabled. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* clean up whitespace againLamont Granquist2018-07-021-5/+5
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Layout/IndentHeredocLamont Granquist2018-07-021-423/+423
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/SpaceInsideArrayPercentLiteralLamont Granquist2016-12-061-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Don't use relative_path_from on glob resultsjk/windows-ruby-2.3John Keiser2016-08-161-1/+70
| | | | Windows Ruby 2.3 translates pathnames like ADMINI~1 to Administrator, making the comparison fail.
* 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-10/+10
| | | | | | 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-248/+248
| | | | | | | 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-3/+3
| | | | chefstyle -a fixed 1044 occurrances
* 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.
* 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.
* Convert Chef Zero helpers to instance methodsdanielsdeleo2014-08-101-78/+105
| | | | | | | | | | | | | * 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-1/+3
|
* Put cache at HOME/.chef.d if /var/chef can't be accessed.Claire McQuin2014-05-221-0/+1
|
* Add ability to flatten parallel enumerableJohn Keiser2014-05-181-1/+1
|
* Fix --chef-repo-pathJohn Keiser2013-10-111-0/+43
|
* Make chef_repo_path globally accessible across knife and chef-clientJohn Keiser2013-08-281-19/+29
|
* Don't report random files in json dirs (like roles/environments)John Keiser2013-06-171-19/+27
|
* Add missing license to integration test files.sersut2013-06-141-0/+17
|
* Turn on nodes, clients and users by default ("everything")John Keiser2013-06-071-1/+76
|
* Split chef_repository_file_spec into threejkeiser2013-06-071-0/+705