summaryrefslogtreecommitdiff
path: root/spec/unit/resource/mdadm_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-10 22:51:17 -0700
committerTim Smith <tsmith@chef.io>2018-07-10 22:56:11 -0700
commit26a350996cab459b6483e67a66faf6030bb46312 (patch)
treeaaa00ceb834e017391022e7940152f01fed7ef3c /spec/unit/resource/mdadm_spec.rb
parent293eb409c165b0080178f378211dde1cbb81c916 (diff)
downloadchef-26a350996cab459b6483e67a66faf6030bb46312.tar.gz
Update wording in resource specs for attributes -> properties
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/resource/mdadm_spec.rb')
-rw-r--r--spec/unit/resource/mdadm_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/unit/resource/mdadm_spec.rb b/spec/unit/resource/mdadm_spec.rb
index d2e3c37de8..62879859a2 100644
--- a/spec/unit/resource/mdadm_spec.rb
+++ b/spec/unit/resource/mdadm_spec.rb
@@ -41,42 +41,42 @@ describe Chef::Resource::Mdadm do
expect { resource.action :stop }.not_to raise_error
end
- it "allows you to set the raid_device attribute" do
+ it "allows you to set the raid_device property" do
resource.raid_device "/dev/md3"
expect(resource.raid_device).to eql("/dev/md3")
end
- it "allows you to set the chunk attribute" do
+ it "allows you to set the chunk property" do
resource.chunk 256
expect(resource.chunk).to eql(256)
end
- it "allows you to set the level attribute" do
+ it "allows you to set the level property" do
resource.level 1
expect(resource.level).to eql(1)
end
- it "allows you to set the metadata attribute" do
+ it "allows you to set the metadata property" do
resource.metadata "1.2"
expect(resource.metadata).to eql("1.2")
end
- it "allows you to set the bitmap attribute" do
+ it "allows you to set the bitmap property" do
resource.bitmap "internal"
expect(resource.bitmap).to eql("internal")
end
- it "allows you to set the layout attribute" do
+ it "allows you to set the layout property" do
resource.layout "f2"
expect(resource.layout).to eql("f2")
end
- it "allows you to set the devices attribute" do
+ it "allows you to set the devices property" do
resource.devices ["/dev/sda", "/dev/sdb"]
expect(resource.devices).to eql(["/dev/sda", "/dev/sdb"])
end
- it "allows you to set the exists attribute" do
+ it "allows you to set the exists property" do
resource.exists true
expect(resource.exists).to eql(true)
end