diff --git a/spec/lib/rex/proto/pjl/client_spec.rb b/spec/lib/rex/proto/pjl/client_spec.rb index 37a0444424..711beefc2b 100644 --- a/spec/lib/rex/proto/pjl/client_spec.rb +++ b/spec/lib/rex/proto/pjl/client_spec.rb @@ -144,8 +144,6 @@ describe Rex::Proto::PJL::Client do context "#fsdownload" do it "should raise an exception due to an invalid path" do expect { cli.fsdownload("/etc/passwd", "BAD") }.to raise_error(ArgumentError) - expect { cli.fsdownload("/etc/passwdd", "1:") }.to raise_error(Errno::ENOENT) - expect { cli.fsdownload("/etc/shadow", "1:") }.to raise_error(Errno::EACCES) end it "should upload a file" do