diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-28 12:14:56 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-28 12:15:42 -0800 |
commit | f9987b12ce8b988251b651d10ec2a479756c3e2e (patch) | |
tree | 30e6b7b4ff513c5c3b0bf17bb31c7885ee776407 /spec/unit/resource/powershell_script_spec.rb | |
parent | 7b7d1556dfdcbec9b78334b89ec8fae35e709fc0 (diff) | |
download | chef-nano_support.tar.gz |
Remove all the code that checks for Windows Nanonano_support
Windows Nano isn't a thing anymore so we shouldn't spending compute time checking to see if we're on Windows Nano
Signed-off-by: Tim Smith <tsmith@chef.io>
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 |