Skip to content

Commit

Permalink
Merge pull request #3797 from chef/salam/win64
Browse files Browse the repository at this point in the history
Fix dsc_script spec failure on 64-bit Ruby
  • Loading branch information
chefsalim committed Aug 21, 2015
2 parents 953af61 + 1f375e5 commit c832f38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/functional/resource/dsc_script_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def delete_user(target_user)
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)
Expand Down

0 comments on commit c832f38

Please sign in to comment.