summaryrefslogtreecommitdiff
path: root/spec/unit/resource/windows_ad_join.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-05-15 15:11:28 -0700
committerTim Smith <tsmith@chef.io>2018-05-15 15:11:28 -0700
commit6c9e1e44a1a13260cff9d027649055cce05493bd (patch)
tree4e3c862615197275cfc543aa04bad475042a548f /spec/unit/resource/windows_ad_join.rb
parentcc0d8c423811a96bdbf4835384ed906c0325629f (diff)
downloadchef-6c9e1e44a1a13260cff9d027649055cce05493bd.tar.gz
Add additional unit tests for resource actions/properties
Fill in some missing coverage here so we can refactor with confidence. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/resource/windows_ad_join.rb')
-rw-r--r--spec/unit/resource/windows_ad_join.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/windows_ad_join.rb b/spec/unit/resource/windows_ad_join.rb
index 7fd02c2021..b2c18c7b7e 100644
--- a/spec/unit/resource/windows_ad_join.rb
+++ b/spec/unit/resource/windows_ad_join.rb
@@ -24,7 +24,7 @@ describe Chef::Resource::WindowsAdJoin do
expect(resource.resource_name).to eql(:windows_ad_join)
end
- it "sets the domain_name as its name" do
+ it "the domain_name property is the name_property" do
expect(resource.domain_name).to eql("example.com")
end