Skip to content

Commit

Permalink
Disable md5 tests when openssl in fips mode
Browse files Browse the repository at this point in the history
No longer very unit testy, however we will not have an md5 implementation
when in that mode.
  • Loading branch information
jaym committed Sep 22, 2015
1 parent e109ccd commit 842c529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/digester_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
expect(@cache.checksum_for_file(fixture_file)).to eq(expected)
end

it "generates a checksum from a non-file IO object" do
it "generates a checksum from a non-file IO object", :not_fips do
io = StringIO.new("riseofthemachines\nriseofthechefs\n")
expected_md5 = '0e157ac1e2dd73191b76067fb6b4bceb'
expect(@cache.generate_md5_checksum(io)).to eq(expected_md5)
Expand Down

0 comments on commit 842c529

Please sign in to comment.