diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-02-02 15:46:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-02 15:46:49 -0800 |
commit | 47d3d197e45120227fbfc07748119d01e2cc636a (patch) | |
tree | 0c733051a5b2c30e5703d6a0fc62b3c3b929eb2f | |
parent | 75f1d2c8836a10ca5d2e427df465111c5351b3b6 (diff) | |
parent | 40a38c47d48577cba076820a52a5abfd53410c4c (diff) | |
download | chef-47d3d197e45120227fbfc07748119d01e2cc636a.tar.gz |
Merge pull request #6820 from chef/tm/apt_package_insanity
guard against somehow being called by the package resource
-rw-r--r-- | spec/functional/resource/apt_package_spec.rb (renamed from spec/functional/resource/package_spec.rb) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/resource/package_spec.rb b/spec/functional/resource/apt_package_spec.rb index 0f01a751ec..7c58937ee2 100644 --- a/spec/functional/resource/package_spec.rb +++ b/spec/functional/resource/apt_package_spec.rb @@ -1,7 +1,7 @@ # encoding: UTF-8 # # Author:: Daniel DeLeo (<dan@chef.io>) -# Copyright:: Copyright 2013-2016, Chef Software, Inc. +# Copyright:: Copyright 2013-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -92,7 +92,7 @@ metadata = { :unix_only => true, :arch => "x86_64" # test packages are 64bit } -describe Chef::Resource::Package, metadata do +describe Chef::Resource::AptPackage, metadata do include Chef::Mixin::ShellOut context "with a remote package source" do @@ -143,7 +143,7 @@ describe Chef::Resource::Package, metadata do end def base_resource - r = Chef::Resource::Package.new("chef-integration-test", run_context) + r = Chef::Resource::AptPackage.new("chef-integration-test", run_context) # The apt repository in the spec data is not gpg signed, so we need to # force apt to accept the package: r.options("--force-yes") |