diff options
author | Richard Manyanza <rm@dsc.co.tz> | 2014-03-06 09:23:13 +0300 |
---|---|---|
committer | Richard Manyanza <rm@dsc.co.tz> | 2014-03-11 18:14:00 +0300 |
commit | d575316610937859250fb31070884c42a294ab96 (patch) | |
tree | a8e9c30e1604bc58ca1d4a1238eca74ff8c31c70 /spec/unit/resource/freebsd_package_spec.rb | |
parent | ddc3d9afe6a608af0b14bad38b891c6d8a504cae (diff) | |
download | chef-d575316610937859250fb31070884c42a294ab96.tar.gz |
Refactor FreeBSD package providers
Diffstat (limited to 'spec/unit/resource/freebsd_package_spec.rb')
-rw-r--r-- | spec/unit/resource/freebsd_package_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/unit/resource/freebsd_package_spec.rb b/spec/unit/resource/freebsd_package_spec.rb index b80a94f98d..9f5572af66 100644 --- a/spec/unit/resource/freebsd_package_spec.rb +++ b/spec/unit/resource/freebsd_package_spec.rb @@ -32,8 +32,9 @@ describe Chef::Resource::FreebsdPackage, "initialize" do @resource.resource_name.should eql(:freebsd_package) end - it "should set the provider to Chef::Provider::Package::freebsd" do - @resource.provider.should eql(Chef::Provider::Package::Freebsd) + it "should not set the provider" do + # This will be handlded by Chef::ProviderResolver::Package::Freebsd + @resource.provider.should be_nil end end |