summaryrefslogtreecommitdiff
path: root/spec/unit/resource_spec.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-10-16 10:07:40 -0500
committertyler-ball <tyleraball@gmail.com>2014-10-16 10:33:02 -0500
commit72dd653d9481848a7489845a46851c66964c5a37 (patch)
tree82b3be7d0c343182ac9fc294459495ff2f70b911 /spec/unit/resource_spec.rb
parent322eaf62464f306e2e3b3fec5b9fed15d17fc50b (diff)
downloadchef-72dd653d9481848a7489845a46851c66964c5a37.tar.gz
Refactoring ResourceCollection interface to be backwards compatiable, all specs continue to pass, removing ResourceSet and ResourceList from consumer knowledge
Diffstat (limited to 'spec/unit/resource_spec.rb')
-rw-r--r--spec/unit/resource_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index 692345c943..aa69861630 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -174,12 +174,12 @@ describe Chef::Resource do
end
it "should load the attributes of a prior resource" do
- @resource.load_prior_resource
+ @resource.load_prior_resource(@resource.resource_name, @resource.name)
@resource.supports.should == { :funky => true }
end
it "should not inherit the action from the prior resource" do
- @resource.load_prior_resource
+ @resource.load_prior_resource(@resource.resource_name, @resource.name)
@resource.action.should_not == @prior_resource.action
end
end