summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSalim Alam <salam@chef.io>2015-08-19 13:41:58 -0700
committerSalim Alam <salam@chef.io>2015-08-20 15:15:32 -0700
commit1f375e53c9e8efb3411fea46c2ad9b39f7442445 (patch)
tree49829f056ab860a1c5dc0f73fc54df56d22bef6f /spec
parent6c4cd5c6d5c40baca723bf95cdbccdda59021198 (diff)
downloadchef-1f375e53c9e8efb3411fea46c2ad9b39f7442445.tar.gz
Fix dsc_script spec failure on 64-bit Ruby
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/dsc_script_spec.rb3
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)