diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-26 12:18:17 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-26 12:18:17 -0800 |
commit | 781b401e76cab359a8dc9d74a7bad1d356267d30 (patch) | |
tree | 4c6ac54f8f805f196f6be71290c0ff36cfd2610c /spec | |
parent | 990bc3421daee113b737e574bf7e931de6b36450 (diff) | |
download | chef-portage.tar.gz |
Remove the provider check in the portage resourceportage
We're not doing this in other resources and we let Chef handle it all
with provides now
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/portage_package_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/unit/resource/portage_package_spec.rb b/spec/unit/resource/portage_package_spec.rb index 02a7aef39a..a37cfd6e41 100644 --- a/spec/unit/resource/portage_package_spec.rb +++ b/spec/unit/resource/portage_package_spec.rb @@ -1,6 +1,6 @@ # # Author:: Adam Jacob (<adam@chef.io>) -# Copyright:: Copyright 2008-2016, Chef Software Inc. +# Copyright:: Copyright 2008-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,8 +29,4 @@ describe Chef::Resource::PortagePackage, "initialize" do it "sets the resource_name to :portage_package" do expect(resource.resource_name).to eql(:portage_package) end - - it "sets the provider to Chef::Provider::Package::Portage" do - expect(resource.provider).to eql(Chef::Provider::Package::Portage) - end end |