diff options
author | Tyler Ball <tyleraball@gmail.com> | 2014-10-17 16:15:12 -0500 |
---|---|---|
committer | Tyler Ball <tyleraball@gmail.com> | 2014-10-17 16:15:12 -0500 |
commit | 9b3e925188a41bbea954429ac81ffdf65e936eda (patch) | |
tree | 4080102aa81bd9f94da69fa4d1ae44472536dd99 /spec/unit/resource_spec.rb | |
parent | 901e8eff95c953b91f597e4d83932d5b8803d31a (diff) | |
parent | ed7a6d2dead738a99ebcb1782d29ca89924093cc (diff) | |
download | chef-9b3e925188a41bbea954429ac81ffdf65e936eda.tar.gz |
Merge pull request #2216 from opscode/tball/bsd_package_name
Notify a resource by the `resource[name]` key it was written as
Diffstat (limited to 'spec/unit/resource_spec.rb')
-rw-r--r-- | spec/unit/resource_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb index 5dfc17f333..bcc91d52bc 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 |