summaryrefslogtreecommitdiff
path: root/spec/unit/provider/execute_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-10 09:35:36 -0700
committerTim Smith <tsmith@chef.io>2018-07-10 09:35:36 -0700
commit97cfef7bdf6448b342deec6825f945d6cfb55e7d (patch)
treeee7507f6fb0d3911f4a35e472b3636541a233901 /spec/unit/provider/execute_spec.rb
parent4ab5fbadd8da5c5d66ecc37fe3c211dc1023d4d0 (diff)
downloadchef-97cfef7bdf6448b342deec6825f945d6cfb55e7d.tar.gz
Attribute -> Property in additional places
Specs and comments, but we should get it right in those places as well Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/provider/execute_spec.rb')
-rw-r--r--spec/unit/provider/execute_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/execute_spec.rb b/spec/unit/provider/execute_spec.rb
index 48cee78462..622d54af37 100644
--- a/spec/unit/provider/execute_spec.rb
+++ b/spec/unit/provider/execute_spec.rb
@@ -102,7 +102,7 @@ describe Chef::Provider::Execute do
expect(new_resource).to be_updated
end
- it "if you pass a command attribute, it runs the command" do
+ it "if you pass a command property, it runs the command" do
new_resource.command "/usr/argelbargle/bin/oogachacka 12345"
expect(provider).to receive(:shell_out!).with(new_resource.command, opts)
expect(provider).to receive(:converge_by).with("execute #{new_resource.command}").and_call_original