summaryrefslogtreecommitdiff
path: root/spec/unit/exceptions_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* rename env resource to windows_envharikesh-kolekar2018-01-301-1/+1
| | | | Signed-off-by: harikesh-kolekar <harikesh.kolekar@msystechnologies.com>
* Allow deletion of registry_key without the need for users to pass type and ↵aliasgar162016-09-301-0/+2
| | | | | | data key in values hash. Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
* autofixing whitespace copsLamont Granquist2016-02-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | 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"
* Use double quotes by defaultThom May2016-01-141-1/+1
| | | | | | | 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-1/+1
| | | | chefstyle -a fixed 1044 occurrances
* Only automatically set resources that do class X < Chef::Resource,jk/3524John Keiser2015-06-161-1/+1
| | | | not X = Class.new(Chef::Resource)
* Mark run failed on failed audits unless configured to audit as warning.Claire McQuin2015-05-271-2/+2
| | | | Remove unnecessary newline from RunFailedWrappingError backtrace
* Adding test for recipe DSL audit additionstyler-ball2014-12-171-1/+1
|
* Adding error handling so saving node doesn't prevent us from running audit ↵tyler-ball2014-12-171-0/+46
| | | | mode - decouples converge phase and audit phase more
* Update to RSpec 3.Claire McQuin2014-10-291-1/+1
|
* My local gemset was including the `json` gem, causing these tests to be ↵tyler-ball2014-10-071-1/+1
| | | | ineffective. Also made them more clear
* Trying to eradicate all traces of the JSON gem from Cheftyler-ball2014-10-071-0/+6
|
* Raising an exception for chef-solo environment constraints.Nick Stielau2013-05-301-1/+3
|
* Adding support for environments when running under chef-solo.Nick Stielau2013-05-301-1/+4
| | | | | This commit refactors and rebases Kyle Goodwin's original work for CHEF-3356, as per Bryan McLellan's 12/17 comments.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+73
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!