summaryrefslogtreecommitdiff
path: root/spec/unit/resource/apt_package_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-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.
* fix apt default_release attribute broken in 12.0Lamont Granquist2014-12-151-5/+3
| | | | | | | | | | | | | the apt provider attempts to check if it has a provider that responds to :default_release (i.e. a real apt_package resource) via if the provider attribute is explicitly set or not, which is relying on a side-effect which broke in 12.0. the correct behavior is just to duck-type the new_resource object and see if it respond_to?(:default_release) and then use it if it does. Also the unit tests were not testing the apt_provider against both the package and apt_package resources. Added some hacky spec code (which needs a cleanup) to at least exercise the use cases.
* updating resources/providers unit tests to rpsec3Lamont Granquist2014-10-241-1/+1
| | | | mechanically generated patch using transpec 2.3.7 gem
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-12/+9
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* Revert the provider indirection logic while keeping the timeout ↵sersut2014-07-021-8/+0
| | | | functionality to fix resource notifications and ChefSpec stubs.
* [CHEF-5168] Apt Package provider times outPeter Fern2014-05-281-0/+8
| | | | | - Convert APT package resource to use `provides :package` - Add timeout parameter
* Normalize whitespace on all filesSeth Vargo2013-09-261-6/+6
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+43
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!