summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Respect TMPDIR in functional testsJohn Keiser2016-02-105-13/+13
|
* Merge pull request #4545 from chef/lcg/remove-rm-rfLamont Granquist2016-02-102-44/+29
|\ | | | | removing rm -rf in chef-solo recipe_url
| * remove rm -rf in chef solo recipe_urlLamont Granquist2016-02-102-44/+29
| | | | | | | | | | | | | | | | | | | | | | - deprecates '-r' used for the recipe_url in chef-solo - adds --delete-entire-chef-repo option for users who want the old behavior back. - cleans up some old code closes #3802 closes #1515 closes #1751
* | Ensure we do streaming requests correctly everywheretm/site_download_regressionThom May2016-02-091-5/+5
| |
* | Use a streaming request to download cookbookThom May2016-02-091-6/+4
|/ | | | fixes #4549
* autofixing some missed copsLamont Granquist2016-02-052-3/+3
| | | | second round of autofixing for some reason...
* autofixing whitespace copsLamont Granquist2016-02-05433-3520/+3223
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Refactor rubygems_spec test and make it fastjdm/rubygems-testKartik Null Cating-Subramanian2016-02-041-254/+312
|
* WIP make rubygems unit specs unit likeJay Mundrawala2016-02-041-10/+49
|
* Chocolatey provider: Raise a MissingLibrary exception if we can't find ↵cd/choco-error-msgChris Doherty2016-02-031-1/+42
| | | | Chocolatey.
* Merge pull request #4523 from chef/chefstyle/fixesLamont Granquist2016-02-036-6/+6
|\ | | | | auto-fixing some easy cops
| * auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-036-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches. 1 Style/ElseAlignment: Align else with if. 1 Style/EvenOdd: Replace with Fixnum#even?. 1 Style/MethodDefParentheses: Use def with parentheses when there are parameters. 3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed. Use %q. 3 Style/SpaceAfterColon: Space missing after colon. 2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis. 2 Style/Tab: Tab detected. 1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment. 1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed. If not, use %w.
* | Merge branch 'smurawski/dsc_resource_converge_logging'Steven Murawski2016-02-032-9/+22
|\ \ | |/ |/|
| * Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableArraysmurawski/dsc_resource_converge_loggingSteven Murawski2016-02-031-0/+5
| |
| * Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableMashSteven Murawski2016-02-031-9/+15
| |
| * include verbose output from the set method and shared function for accessing ↵Steven Murawski2016-02-031-0/+2
| | | | | | | | verbose log info.
* | Allow multiple property_types in `is`jk/property-is-multiple-typesJohn Keiser2016-02-031-15/+76
| |
* | Merge pull request #4516 from chef/invalidMatt Wrock2016-02-031-1/+1
|\ \ | | | | | | fixes #4515 and use FormatMessage to get correct error messages from native API instead of retyping them with our fingers
| * | fixes #4515 and use FormatMessage to get correct error messages from native ↵invalidMatt Wrock2016-02-031-1/+1
| |/ | | | | | | API instead of retyping them with our fingers
* | Merge pull request #4481 from chef/jdm/fips-58Jay Mundrawala2016-02-034-2/+95
|\ \ | |/ |/| Allow use of command line fips switch for knife
| * Refactor chef-config fips configjdm/fips-58Jay Mundrawala2016-01-282-5/+5
| | | | | | | | | | | | | | | | This refactor allows for better mocking in the tests. Before, when init_openssl was called, classes would get monkey patched. While this may not cause problems now, some day in the future, somebody would have been like "WTF is going on".
| * Allow use of command line fips switch for knifeJay Mundrawala2016-01-283-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | This somewhat worked before. However, it was just for knife bootstrap. It also didn't support --no-fips in the case where it was in your knife.rb and you decided that you didn't want to use fips for that one call. The assumption here is fips mode you run knife with is the fips mode the node will get. This has the nice property that validatorless bootstraps will talk to the chef server in fips mode if the node is requested to be in fips mode.
* | Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-02578-1013/+1013
|\ \ | | | | | | Copyright and author line update
| * | Some more author domain stragglers.Noah Kantrowitz2016-02-029-9/+9
| | |
| * | Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-026-6/+6
| | |
| * | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-02347-409/+409
| | | | | | | | | 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-02344-350/+350
| | | | | | | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
| * | Manual fix ups for things that didn't follow the usual pattern.Noah Kantrowitz2016-02-022-2/+2
| | |
| * | Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-02576-593/+593
| | | | | | | | | 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"
* | | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-021-1/+1
|/ / | | | | | | profiles installed
* | Make windows event log tests fasterJay Mundrawala2016-02-021-4/+9
| | | | | | | | | | Using SecureRandom is slow if it is not initialized. Random is good enough for this test.
* | Mark windows_service_spec as brokenJay Mundrawala2016-02-021-1/+2
| | | | | | | | | | This test is causing the rspec tests in appveyor to exit with 116
* | Use OHAI_SYSTEM where possibleJay Mundrawala2016-02-0210-40/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rerunning ohai wastes a lot of time. This should get us back to within our time limits in appveyor even with the perf regression in Ohai. Don't rerun ohai for unit/regsitry_helper_spec Ohai is slow. We don't need to rerun this, it's already run in our spec_helper. Don't keep rerunning ohai for reboot_pending_spec Running Ohai is slow. This should know almost 2 mins off the runtime of the tests. Don't need to run ohai for registry_spec crypto_spec does not need its own ohai cmdlet_spec does not need its own ohai functional registry_helper_spec does not need its own ohai Use spec ohai system for knife configure_spec Use OHAI_SYSTEM for dsc_script_spec use OHAI_SYSTEM for dsc_resource_spec
* | Don't rerun ohai for ohai_spec when not neededjdm/ohai-func-specJay Mundrawala2016-02-011-3/+1
| | | | | | | | Running ohai is slow
* | Add missing acl_entry backwards compatibility "require"John Keiser2016-02-011-0/+34
| |
* | Fix defaults on property_typeJohn Keiser2016-02-011-0/+15
| |
* | Fix /acls/data_bags local mode pathJohn Keiser2016-02-011-1/+1
| |
* | Adjust tests for ACLsJohn Keiser2016-02-013-2/+57
| |
* | add spec helperLamont Granquist2016-01-291-1/+2
|/ | | | tests won't run in isolation with it.
* Merge pull request #4472 from chef/jdm/fix-fips-filterJay Mundrawala2016-01-272-2/+2
|\ | | | | Fix inverted filter logic for not_fips rspec filter
| * Rename not_fips rspec filter to no_supported_under_fipsjdm/fix-fips-filterJay Mundrawala2016-01-272-2/+2
| |
| * Fix inverted filter logic for not_fips rspec filterJay Mundrawala2016-01-271-1/+1
| |
* | Fix config load expectations for windowsdanielsdeleo2016-01-272-2/+2
| |
* | Reorganize application tests to catch fatalsdanielsdeleo2016-01-271-146/+158
| |
* | Force config file setting to absolute path in chef-clientdanielsdeleo2016-01-271-22/+53
| |
* | Fix nil with properties:John Keiser2016-01-275-158/+187
| | | | | | | | | | | | 1. Warn when default values are invalid. 2. Never validate nil (on set or get) if there is no default. 3. Emit "will be invalid in Chef 13" warning when setting an invalid nil value.
* | Merge pull request #4409 from chef/lcg/suppress-reporter-failuresLamont Granquist2016-01-272-1/+7
|\ \ | |/ |/| Lcg/suppress reporter failures
| * suppress reporter failures by using validate_utf8=falselcg/suppress-reporter-failuresLamont Granquist2016-01-262-1/+7
| | | | | | | | | | | | | | - doesn't turn off the utf8 validation in the rest of the rest API - has to use a different rest object because we have to pass options in the constructor - the handling of Chef::Config in Chef::Client is just awful
* | Merge pull request #4434 from chef/lcg/better-eof-errorsLamont Granquist2016-01-271-3/+26
|\ \ | | | | | | adds EOFError message to handlers
| * | explicit specs for EOFErrorslcg/better-eof-errorsLamont Granquist2016-01-261-3/+26
| | |