diff options
Diffstat (limited to 'spec/unit/resource/powershell_script_spec.rb')
-rw-r--r-- | spec/unit/resource/powershell_script_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/unit/resource/powershell_script_spec.rb b/spec/unit/resource/powershell_script_spec.rb index 5566f32725..ce6b8ecea4 100644 --- a/spec/unit/resource/powershell_script_spec.rb +++ b/spec/unit/resource/powershell_script_spec.rb @@ -47,11 +47,6 @@ describe Chef::Resource::PowershellScript do expect(@resource.convert_boolean_return).to eq(false) end - it "raises an error when architecture is i386 on Windows Nano Server" do - allow(Chef::Platform).to receive(:windows_nano_server?).and_return(true) - expect { @resource.architecture(:i386) }.to raise_error(Chef::Exceptions::Win32ArchitectureIncorrect, "cannot execute script with requested architecture 'i386' on Windows Nano Server") - end - context "when using guards" do let(:resource) { @resource } before(:each) do |