summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-02 11:54:51 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-02 11:54:51 -0800
commit40a38c47d48577cba076820a52a5abfd53410c4c (patch)
tree0c733051a5b2c30e5703d6a0fc62b3c3b929eb2f
parentccf9036ab51101acbf9e9dab74fc31e41327f757 (diff)
downloadchef-tm/apt_package_insanity.tar.gz
Use apt_package instead of package, and rename filetm/apt_package_insanity
this really only tests apt_package, but was written before Chef 12. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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")