summaryrefslogtreecommitdiff
path: root/spec/unit/util/diff_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary check for `diff`.Pete Higgins2020-07-241-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Remove some unnecessary test cleanup.Pete Higgins2020-07-241-14/+0
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-131-1/+1
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* some spec typosVivek Singh2020-04-071-1/+1
| | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* fix Style/HashSyntaxLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* supresses parser gem errorsLamont Granquist2016-03-251-4/+4
| | | | | | see https://github.com/whitequark/parser/issues/283 if rubocop works around this bug then we can revert this patch.
* autofixing whitespace copsLamont Granquist2016-02-051-5/+2
| | | | | | | | | | | | | | | | | | | | | | 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"
* Use double quotes by defaultThom May2016-01-141-2/+2
| | | | | | | 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.
* Util::Diff: remove Object::Encoding existence check (ruby 1.8 specific, ↵Xabier de Zuazo2015-01-271-6/+6
| | | | issue #2497)
* Update to RSpec 3.Claire McQuin2014-10-291-25/+25
|
* Add diff specs with spaces in the file path.sersut2013-10-211-15/+37
|
* Reset configuration before each testJohn Keiser2013-09-161-9/+0
|
* Use Chef::Config.reset in tests instead of save/load configJohn Keiser2013-09-131-4/+5
|
* shell_out to diff => diff-lcs, cleaned up tests, updated gem versionsClaire McQuin2013-07-161-31/+0
|
* this should have been reverted to old behavior, causes failures onLamont Granquist2013-07-031-1/+1
| | | | solaris
* many bugs:Lamont Granquist2013-06-281-12/+352
| | | | | | | - multiline is_binary? regex was broken - multiline rspec tests were all broken - Tempfile.new was a big no-op on several tests - lots of support for handling different encodings and UTF-8 output
* add back diffing against no file for why-run modeLamont Granquist2013-03-291-4/+4
|
* windows needs an explicit close before unlinkLamont Granquist2013-03-181-0/+2
|
* refactoring of file providersLamont Granquist2013-03-151-0/+254