diff options
author | Tim Smith <tsmith@chef.io> | 2019-04-11 14:44:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 14:44:17 -0700 |
commit | 1862ed33a8991acd1127fb90c7f771b583363c58 (patch) | |
tree | f3107ab09da9208dd8912851396cdffbe86c3d50 /spec/functional | |
parent | 49723849fe14f5205f982b2283cf93ddfa01423e (diff) | |
parent | 98d736b40bcde92026b30c1566fbaaaefb5636cd (diff) | |
download | chef-1862ed33a8991acd1127fb90c7f771b583363c58.tar.gz |
Merge pull request #8359 from chef/btm/fix-dsc-test-errors
Don't force DSC functional tests to PS4
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/dsc_script_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb index 04a65acae7..37b70598df 100644 --- a/spec/functional/resource/dsc_script_spec.rb +++ b/spec/functional/resource/dsc_script_spec.rb @@ -74,11 +74,11 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do let(:env_value2) { "value2" } let(:dsc_test_run_context) do node = Chef::Node.new + node.consume_external_attrs(OHAI_SYSTEM.data, {}) # node[:languages][:powershell][:version] node.automatic["os"] = "windows" node.automatic["platform"] = "windows" node.automatic["platform_version"] = "6.1" node.automatic["kernel"][:machine] = :x86_64 # Only 64-bit architecture is supported - node.automatic[:languages][:powershell][:version] = "4.0" empty_events = Chef::EventDispatch::Dispatcher.new Chef::RunContext.new(node, {}, empty_events) end |