diff options
| author | Matt Wrock <matt@mattwrock.com> | 2016-02-29 12:53:55 -0800 |
|---|---|---|
| committer | Matt Wrock <matt@mattwrock.com> | 2016-02-29 14:33:05 -0800 |
| commit | b096f5d1c01ca4562b63ea1b088c9cd4d22f501f (patch) | |
| tree | 1c9de7397b0887c59349eaa10f70b65cedb518b3 /spec/functional/resource | |
| parent | 5533dbb2917860dca16765d49079ed01a421fad8 (diff) | |
| download | chef-dsc.tar.gz | |
if no module name is found for a valid dsc resource default to PSDesiredStateConfigurationdsc
Diffstat (limited to 'spec/functional/resource')
| -rw-r--r-- | spec/functional/resource/dsc_resource_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/dsc_resource_spec.rb b/spec/functional/resource/dsc_resource_spec.rb index 129333c190..8e4940d475 100644 --- a/spec/functional/resource/dsc_resource_spec.rb +++ b/spec/functional/resource/dsc_resource_spec.rb @@ -38,7 +38,7 @@ describe Chef::Resource::DscResource, :windows_powershell_dsc_only do before do if !Chef::Platform.supports_dsc_invoke_resource?(node) skip "Requires Powershell >= 5.0.10018.0" - elsif !Chef::Platform.dsc_refresh_mode_disabled?(node) + elsif !Chef::Platform.supports_refresh_mode_enabled?(node) && !Chef::Platform.dsc_refresh_mode_disabled?(node) skip "Requires LCM RefreshMode is Disabled" end end |
