summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-10-28 12:28:16 -0700
committerAdam Edwards <adamed@opscode.com>2014-10-28 12:36:51 -0700
commitde4e4ae29d2a793cb8a5382a7b274e11f772c38e (patch)
treeacaa899bf06573242d0cc58c461fee75c51fa9c8
parent3f1dd3fbbf7fa9907fc73fc8ee1f0daebed258dc (diff)
downloadchef-adamedx/32-bit-windows-spec-fix.tar.gz
64-bit Windows functional script resource specs should not execute on 32-bit Windowsadamedx/32-bit-windows-spec-fix
-rw-r--r--spec/support/shared/functional/windows_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb
index f677828167..866caf4b20 100644
--- a/spec/support/shared/functional/windows_script.rb
+++ b/spec/support/shared/functional/windows_script.rb
@@ -95,7 +95,7 @@ shared_context Chef::Resource::WindowsScript do
end
let (:architecture) { :x86_64 }
- it "should execute a 64-bit guard if the guard's architecture is specified as 64-bit" do
+ it "should execute a 64-bit guard if the guard's architecture is specified as 64-bit", :windows64_only do
resource.only_if resource_guard_command, :architecture => :x86_64
resource.run_action(:run)
get_guard_process_architecture.should == 'amd64'