diff options
author | Salim Alam <salam@chef.io> | 2015-08-20 17:07:47 -0700 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2015-08-20 17:07:47 -0700 |
commit | c832f38fbf26dce0a8e323318b33937cb4a44243 (patch) | |
tree | 5adf8f996b7532e283384bf186ccf1cd6d451037 | |
parent | 953af618fd0114a6557150358369f3ae7491614a (diff) | |
parent | 1f375e53c9e8efb3411fea46c2ad9b39f7442445 (diff) | |
download | chef-c832f38fbf26dce0a8e323318b33937cb4a44243.tar.gz |
Merge pull request #3797 from chef/salam/win64
Fix dsc_script spec failure on 64-bit Ruby
-rw-r--r-- | spec/functional/resource/dsc_script_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb index a736949c6b..f7c18716b5 100644 --- a/spec/functional/resource/dsc_script_spec.rb +++ b/spec/functional/resource/dsc_script_spec.rb @@ -67,8 +67,7 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do node = Chef::Node.new node.automatic['platform'] = 'windows' node.automatic['platform_version'] = '6.1' - node.automatic['kernel'][:machine] = - is_i386_process_on_x86_64_windows? ? :x86_64 : :i386 + 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) |