diff options
author | John McCrae <jmccrae@chf.io> | 2021-05-15 15:47:54 -0700 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2021-05-15 15:47:54 -0700 |
commit | 3d0f36fa8b5be7679af23f07171d678791f4a99d (patch) | |
tree | 2e6f4bf5dd39d4d871b794155c549e41dca8bec9 /spec | |
parent | ab28ce79e8e0fd1360148b5b31fda09de8b33beb (diff) | |
download | chef-3d0f36fa8b5be7679af23f07171d678791f4a99d.tar.gz |
Updated the hostname resource to remove WMI support and use PowerShell to change Windows device names. Functional tests were added too.
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/windows_hostname_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/windows_hostname_spec.rb b/spec/functional/resource/windows_hostname_spec.rb index f64c805beb..a0a58b2919 100644 --- a/spec/functional/resource/windows_hostname_spec.rb +++ b/spec/functional/resource/windows_hostname_spec.rb @@ -75,7 +75,7 @@ describe Chef::Resource::Hostname, :windows_only do end end - describe 'testing for error handling' do + describe "testing for error handling" do before do allow(subject).to receive(:is_domain_joined?) { true } end |