diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-22 14:11:03 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-22 14:11:03 -0700 |
commit | 46852c3b85bda314e69c20ec170764d3114f8e78 (patch) | |
tree | b617ab00b1b1a0adb3627ea95688fa6cdd5bc533 /spec/functional | |
parent | c1d9c38600f218348ea910b7a3844d15fd9278a3 (diff) | |
download | chef-46852c3b85bda314e69c20ec170764d3114f8e78.tar.gz |
no need for provider-resolver here
mac always gets dscl, windows always gets windows
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/user/dscl_spec.rb | 2 | ||||
-rw-r--r-- | spec/functional/resource/windows_service_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/user/dscl_spec.rb b/spec/functional/resource/user/dscl_spec.rb index e2097710df..442e4b995b 100644 --- a/spec/functional/resource/user/dscl_spec.rb +++ b/spec/functional/resource/user/dscl_spec.rb @@ -76,7 +76,7 @@ describe "Chef::Resource::User with Chef::Provider::User::Dscl provider", metada let(:iterations) { nil } let(:user_resource) do - r = Chef::Resource::User.new("TEST USER RESOURCE", run_context) + r = Chef::Resource::User::Dscl.new("TEST USER RESOURCE", run_context) r.username(username) r.uid(uid) r.gid(gid) diff --git a/spec/functional/resource/windows_service_spec.rb b/spec/functional/resource/windows_service_spec.rb index f74e9bdac3..30c59fa1f4 100644 --- a/spec/functional/resource/windows_service_spec.rb +++ b/spec/functional/resource/windows_service_spec.rb @@ -28,7 +28,7 @@ describe Chef::Resource::WindowsService, :windows_only, :system_windows_service_ let(:password) { "1a2b3c4X!&narf" } let(:user_resource) do - r = Chef::Resource::User.new(username, run_context) + r = Chef::Resource::User::Windows.new(username, run_context) r.username(username) r.password(password) r.comment("temp spec user") |