From 86dec02637834f43339366f71eed78c91f2d5a66 Mon Sep 17 00:00:00 2001 From: sersut Date: Wed, 9 Jul 2014 16:05:27 -0700 Subject: Automatically find out the sid for Administrators so that the specs can run on boxes for which the administrators account is renamed. --- spec/support/shared/functional/securable_resource.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/support/shared/functional/securable_resource.rb b/spec/support/shared/functional/securable_resource.rb index 98c41c1f20..4efe7a69a1 100644 --- a/spec/support/shared/functional/securable_resource.rb +++ b/spec/support/shared/functional/securable_resource.rb @@ -240,7 +240,7 @@ shared_examples_for "a securable resource with existing target" do describe "when setting owner" do before do - resource.owner('Administrator') + resource.owner(SID.admin_account_name) resource.run_action(:create) end @@ -539,4 +539,3 @@ shared_examples_for "a securable resource without existing target" do end end - -- cgit v1.2.1