summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-02-26 07:28:44 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-02-26 07:28:44 -0800
commit78f65b5e45f662db0ab64a35697bd30e5e12c13d (patch)
treeddc355a56127eaddc8b6f8004ec40cf30fad0c75
parenteb92b46fa1f43ffb3f707ab49e9d0c92b7c7f145 (diff)
downloadchef-78f65b5e45f662db0ab64a35697bd30e5e12c13d.tar.gz
Only do the allow_md5/disallow_md5 thing for fips
-rw-r--r--spec/functional/knife/ssh_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/knife/ssh_spec.rb b/spec/functional/knife/ssh_spec.rb
index 2b561588b4..fc4764c2e7 100644
--- a/spec/functional/knife/ssh_spec.rb
+++ b/spec/functional/knife/ssh_spec.rb
@@ -24,14 +24,14 @@ describe Chef::Knife::Ssh do
include Chef::Mixin::FIPS
before(:all) do
- allow_md5
+ allow_md5 if fips?
Chef::Knife::Ssh.load_deps
@server = TinyServer::Manager.new
@server.start
end
after(:all) do
- disallow_md5
+ disallow_md5 if fips?
@server.stop
end