summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMatt Whiteley <mwhiteley@fastly.com>2017-09-06 09:38:34 -0700
committerMatt Whiteley <mwhiteley@fastly.com>2017-09-06 13:05:58 -0700
commit5711bdff067711b03d5fa385b558e7782275364b (patch)
tree171f7600a4b5d3007ec73a5625bf5f0cb7da566b /spec
parent283d9877cb82722c9cb5d59d6c6975925d5370f7 (diff)
downloadmixlib-authentication-5711bdff067711b03d5fa385b558e7782275364b.tar.gz
make net-ssh optional
Signed-off-by: Matt Whiteley <mwhiteley@fastly.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/mixlib/authentication/mixlib_authentication_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/mixlib/authentication/mixlib_authentication_spec.rb b/spec/mixlib/authentication/mixlib_authentication_spec.rb
index 8164a99..522a312 100644
--- a/spec/mixlib/authentication/mixlib_authentication_spec.rb
+++ b/spec/mixlib/authentication/mixlib_authentication_spec.rb
@@ -138,7 +138,6 @@ describe "Mixlib::Authentication::SignedHeaderAuth" do
end
it "should choke when signing a request via ssh-agent and ssh-agent is not reachable with version 1.3" do
- expect { Net::SSH::Authentication::Agent.connect }.to raise_error(Net::SSH::Authentication::AgentNotAvailable)
expect { V1_3_SHA256_SIGNING_OBJECT.sign(PUBLIC_KEY) }.to raise_error(Mixlib::Authentication::AuthenticationError)
end