summaryrefslogtreecommitdiff
path: root/spec/unit/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-04-27 16:33:37 -0700
committerTim Smith <tsmith@chef.io>2018-04-27 16:54:52 -0700
commit3ac7383d286f0aba074f1062530c107fd73e6db4 (patch)
tree574b07b3d498ce471a985f677972670032f8736a /spec/unit/resource
parent2651a43b251f209a63ebc814330271ec5f1735b2 (diff)
downloadchef-3ac7383d286f0aba074f1062530c107fd73e6db4.tar.gz
Convert some of remote_directory to use propertiesremote_directory
This isn't all of it, but it's a start Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/resource')
-rw-r--r--spec/unit/resource/remote_directory_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/remote_directory_spec.rb b/spec/unit/resource/remote_directory_spec.rb
index c016213c4a..d9cef7edd9 100644
--- a/spec/unit/resource/remote_directory_spec.rb
+++ b/spec/unit/resource/remote_directory_spec.rb
@@ -22,7 +22,7 @@ describe Chef::Resource::RemoteDirectory do
let(:resource) { Chef::Resource::RemoteDirectory.new("/etc/dunk") }
- it "sets the path to the first argument to new" do
+ it "path is the name property" do
expect(resource.path).to eql("/etc/dunk")
end
@@ -45,7 +45,7 @@ describe Chef::Resource::RemoteDirectory do
expect(resource.files_backup).to eql(false)
end
- it "accepts 3 or 4 digets for the files_mode" do
+ it "accepts 3 or 4 digits for the files_mode" do
resource.files_mode 100
expect(resource.files_mode).to eql(100)
resource.files_mode 1000