summaryrefslogtreecommitdiff
path: root/spec/unit/provider/package
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-06-03 07:50:10 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-06-03 07:50:10 -0700
commitc8d94a0893561f61178f9da833b0fe204dd8afa0 (patch)
treed8ed2159577dc9141932457e5689785fc8c92c1b /spec/unit/provider/package
parent770b1b5475d871ed7affa1fef605d64be1922457 (diff)
downloadchef-c8d94a0893561f61178f9da833b0fe204dd8afa0.tar.gz
wire zypper_package up to the DSL
i'm not sure how anybody has been using this resource, but think we may have broken this in 12.0.0 at some point, at any rate this will make it a lot easier for people to actually use.
Diffstat (limited to 'spec/unit/provider/package')
-rw-r--r--spec/unit/provider/package/zypper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/zypper_spec.rb b/spec/unit/provider/package/zypper_spec.rb
index ecff9477fd..18ff739bc6 100644
--- a/spec/unit/provider/package/zypper_spec.rb
+++ b/spec/unit/provider/package/zypper_spec.rb
@@ -19,9 +19,9 @@
require 'spec_helper'
describe Chef::Provider::Package::Zypper do
- let!(:new_resource) { Chef::Resource::Package.new("cups") }
+ let!(:new_resource) { Chef::Resource::ZypperPackage.new("cups") }
- let!(:current_resource) { Chef::Resource::Package.new("cups") }
+ let!(:current_resource) { Chef::Resource::ZypperPackage.new("cups") }
let(:provider) do
node = Chef::Node.new