diff options
author | Stuart Preston <stuart@chef.io> | 2018-05-30 15:17:01 +0100 |
---|---|---|
committer | Stuart Preston <stuart@chef.io> | 2018-05-30 15:17:01 +0100 |
commit | 422c9a3291ea277347f6ab866126cb03a8719ab6 (patch) | |
tree | 12884d2025ef0856495cc7f42ee2bb6fd5a46725 | |
parent | 9640895af5514d291e417e298a4ed7e43653414e (diff) | |
download | chef-sp/win10_fix_securable_resource_tests.tar.gz |
Use local computer name instead of domain in testssp/win10_fix_securable_resource_tests
Signed-off-by: Stuart Preston <stuart@chef.io>
-rw-r--r-- | spec/support/shared/functional/securable_resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/functional/securable_resource.rb b/spec/support/shared/functional/securable_resource.rb index 2ca93bdcd0..65f512b5bf 100644 --- a/spec/support/shared/functional/securable_resource.rb +++ b/spec/support/shared/functional/securable_resource.rb @@ -313,7 +313,7 @@ shared_examples_for "a securable resource without existing target" do end it "sets owner when owner is specified with a \\" do - resource.owner "#{ENV['USERDOMAIN']}\\Guest" + resource.owner "#{ENV['COMPUTERNAME']}\\Guest" resource.run_action(:create) expect(descriptor.owner).to eq(SID.Guest) end |