diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-10-13 14:10:32 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-10-16 13:30:23 -0700 |
commit | 28fd0c9c87c6fceb7068776a04c32cd8381fe8f6 (patch) | |
tree | b2dd5032e7200cb732690565e8d5f3501952d99f /spec | |
parent | 33b198b6b954742c313a84b40610ab8f842e5735 (diff) | |
download | chef-28fd0c9c87c6fceb7068776a04c32cd8381fe8f6.tar.gz |
Remove the "path" attribute from "execute" resource which has never been backed by any providers.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared/unit/execute_resource.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/support/shared/unit/execute_resource.rb b/spec/support/shared/unit/execute_resource.rb index 609e77ad63..298e0c5baf 100644 --- a/spec/support/shared/unit/execute_resource.rb +++ b/spec/support/shared/unit/execute_resource.rb @@ -76,11 +76,6 @@ shared_examples_for "an execute resource" do @resource.group.should eql(1) end - it "should accept an array for the execution path" do - @resource.path ["woot"] - @resource.path.should eql(["woot"]) - end - it "should accept an integer for the return code" do @resource.returns 1 @resource.returns.should eql(1) @@ -112,7 +107,6 @@ shared_examples_for "an execute resource" do @resource.cwd("/tmp/") @resource.environment({ :one => :two }) @resource.group("legos") - @resource.path(["/var/local/"]) @resource.returns(1) @resource.user("root") end @@ -122,4 +116,3 @@ shared_examples_for "an execute resource" do end end end - |