summaryrefslogtreecommitdiff
path: root/spec/unit/deprecation_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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-9/+9
| | | | | | | 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.
* Simplify deprecation specJohn Keiser2015-09-011-6/+3
|
* Fix up deprecated_attr_*, add testsJohn Keiser2015-05-281-0/+55
|
* fix a busted deprecation specLamont Granquist2015-02-091-2/+1
|
* Add Chef::Log.deprecation and associated wiringLamont Granquist2015-02-091-12/+26
|
* Update to RSpec 3.Claire McQuin2014-10-291-5/+5
|
* remove JSON gem usageLamont Granquist2014-08-111-2/+1
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* s/stub!/stub/gLamont Granquist2014-01-291-1/+1
| | | | fix deprecation warnings
* Declare examples in a loop to clarify test contextdanielsdeleo2013-06-071-7/+7
| | | | | | Test failures in these examples lacked context when failing (e.g., what class is missing what method). Moving the iteration outside example definition makes failure messages clearer.
* Convert method names to symbols when comparingdanielsdeleo2013-06-071-1/+1
| | | | Ruby 1.8 and 1.9 differ on the types used when introspecting on methods.
* Move code comments to where rdoc/yard expect themdanielsdeleo2013-05-161-2/+2
|
* Fixes for PR review comments from Dan.sersut2013-05-161-26/+26
|
* Spec for deprecation.sersut2013-05-161-0/+86