diff options
author | Jeff Blaine <jblaine@kickflop.net> | 2015-08-31 17:26:10 -0400 |
---|---|---|
committer | Bryan McLellan <btm@chef.io> | 2015-11-23 18:05:01 -0500 |
commit | ced05a7932f1ab29b4d985d95c4084a108aa3f13 (patch) | |
tree | 43a04d1e14939b8f15f20b192caa7c301b39ea43 /spec/functional/knife/ssh_spec.rb | |
parent | 925317bfd39a6b395a7117e01dd1dea78e240f40 (diff) | |
download | chef-ced05a7932f1ab29b4d985d95c4084a108aa3f13.tar.gz |
Fix tests
Diffstat (limited to 'spec/functional/knife/ssh_spec.rb')
-rw-r--r-- | spec/functional/knife/ssh_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/functional/knife/ssh_spec.rb b/spec/functional/knife/ssh_spec.rb index 51524b7009..0844a0aa85 100644 --- a/spec/functional/knife/ssh_spec.rb +++ b/spec/functional/knife/ssh_spec.rb @@ -56,7 +56,7 @@ describe Chef::Knife::Ssh do it "uses the ssh_identity_file" do @knife.run - expect(@knife.config[:identity_file]).to eq("~/.ssh/aws.rsa") + expect(@knife.config[:ssh_identity_file]).to eq("~/.ssh/aws.rsa") end end @@ -68,7 +68,7 @@ describe Chef::Knife::Ssh do it "uses the ssh_identity_file" do @knife.run - expect(@knife.config[:identity_file]).to eq("~/.ssh/aws.rsa") + expect(@knife.config[:ssh_identity_file]).to eq("~/.ssh/aws.rsa") end end @@ -80,13 +80,13 @@ describe Chef::Knife::Ssh do it "should use the value on the command line" do @knife.run - expect(@knife.config[:identity_file]).to eq("~/.ssh/aws.rsa") + expect(@knife.config[:ssh_identity_file]).to eq("~/.ssh/aws.rsa") end it "should override what is set in knife.rb" do Chef::Config[:knife][:ssh_identity_file] = "~/.ssh/other.rsa" @knife.run - expect(@knife.config[:identity_file]).to eq("~/.ssh/aws.rsa") + expect(@knife.config[:ssh_identity_file]).to eq("~/.ssh/aws.rsa") end end @@ -98,7 +98,7 @@ describe Chef::Knife::Ssh do it "uses the default" do @knife.run - expect(@knife.config[:identity_file]).to eq(nil) + expect(@knife.config[:ssh_identity_file]).to eq(nil) end end end |