summaryrefslogtreecommitdiff
path: root/spec/unit/api_client
Commit message (Collapse)AuthorAgeFilesLines
* Autofixing new Perf cops in 0.37.2Lamont Granquist2016-02-231-1/+1
| | | | | | | | | | 6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
* deal with 0.37.2 renamed copsLamont Granquist2016-02-181-1/+1
| | | | | | | | | | | | | | | 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?
* autofixing whitespace copsLamont Granquist2016-02-051-11/+10
| | | | | | | | | | | | | | | | | | | | | | 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
* 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"
* Modify registration_spec to work when fips is enabled in opensslJay Mundrawala2016-01-251-6/+6
| | | | | | We need to ask openssl for the pem whenever we have a private key so that it returns the same format of key (PKCS#1 vs PKCS#8) that openssl generates
* Use double quotes by defaultThom May2016-01-141-10/+10
| | | | | | | 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-2/+2
| | | | chefstyle -a fixed 1044 occurrances
* no longer wait on node search to refresh vault but pass created ApiClient ↵Matt Wrock2015-12-221-9/+13
| | | | instead
* expose HTTP optionstm/fix_reg_tests_2Thom May2015-12-091-0/+3
| | | | and use it in registration client specs
* fix registration teststm/fix_reg_testsThom May2015-12-071-4/+2
|
* Fix unit specs on Sparc.Serdar Sutay2014-11-121-1/+7
|
* Fix rspec 3 specs.ryan/follow_symlinksSerdar Sutay2014-11-071-2/+2
|
* Add spec for making client.pem a symlink a config optionRyan Cragun2014-11-071-0/+16
|
* Update to RSpec 3.Claire McQuin2014-10-291-47/+47
|
* Enable client-side key generation by default (resolves ↵Claire McQuin2014-08-141-74/+83
| | | | https://github.com/opscode/chef/issues/1711)
* Add optional client-side key generation when registeringdanielsdeleo2014-03-251-6/+68
|
* Tidy up api client registration specsdanielsdeleo2014-03-251-32/+41
|
* s/mock\(/double(/gLamont Granquist2014-01-291-2/+2
|
* s/stub!/stub/gLamont Granquist2014-01-291-3/+3
| | | | fix deprecation warnings
* Normalize whitespace on all filesSeth Vargo2013-09-261-1/+1
|
* make nil the default for second argument of make_tmpname()Lamont Granquist2013-01-291-1/+1
|
* use make_tmpname to avoid finalizer racesLamont Granquist2013-01-291-4/+1
|
* fix spec failure on ruby 1.8danielsdeleo2012-12-191-1/+2
|
* [CHEF-3689] skip unix-specific permissions test on windowsdanielsdeleo2012-12-191-1/+4
|
* [CHEF-3689] binary mode lulz in test datadanielsdeleo2012-12-191-1/+1
|
* [CHEF-3689] Extract registration to a classdanielsdeleo2012-12-181-0/+171