summaryrefslogtreecommitdiff
path: root/spec/unit/provider/osx_profile_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update specs for the full path to profiles binaryTim Smith2018-08-101-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* fix missing stubs for install_profileLamont Granquist2018-07-061-0/+2
| | | | | | otherwise we really shell_out to profile Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* rebase + squashLamont Granquist2018-07-061-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Added fix for spaces in profile identifiers (#5159)Nate Walck2016-08-291-0/+6
| | | | | | | | | | * Added fix for spaces in profile identifiers * Added an attempt to test spaces in identifier names * Derp, bad merge * Fixed osx profile spec test
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-3/+3
| | | | no enforced trailing comma on arguments...
* deal with 0.37.2 renamed copsLamont Granquist2016-02-181-9/+9
| | | | | | | | | | | | | | | 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?
* pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-42/+42
| | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* autofixing whitespace copsLamont Granquist2016-02-051-93/+75
| | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-021-1/+1
|\ | | | | Copyright and author line update
| * 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"
* | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-021-1/+1
|/ | | | profiles installed
* Use double quotes by defaultThom May2016-01-141-49/+49
| | | | | | | 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-7/+7
| | | | chefstyle -a fixed 1044 occurrances
* Added profile provider for OS XNate Walck2015-12-171-0/+267
Fixed resource to use let