diff options
author | Salim Alam <salam@chef.io> | 2015-08-19 13:41:58 -0700 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2015-08-20 15:15:32 -0700 |
commit | 1f375e53c9e8efb3411fea46c2ad9b39f7442445 (patch) | |
tree | 49829f056ab860a1c5dc0f73fc54df56d22bef6f | |
parent | 6c4cd5c6d5c40baca723bf95cdbccdda59021198 (diff) | |
download | chef-1f375e53c9e8efb3411fea46c2ad9b39f7442445.tar.gz |
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) |