Sha256: 6cc6d711632296d1b74d292abbd8faf2b92a57474b8df2d401321412d1302bf3
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
require 'test_helper' describe Rupert::RPM do let(:valid_rpm) { fixture('rpm-4.8.0-32.el6.x86_64.rpm') } let(:rpm) { Rupert::RPM.load(valid_rpm) } it "reads the package checksum" do rpm.md5.must_equal "jvA7YQW9TICIGWjaSLF/sA==" end it "verifies package (non-cryptographic) integrity" do assert rpm.intact?, "expected package to be intact, but it was not." end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rupert-0.0.2 | test/end_to_end/rpm_signature_test.rb |
rupert-0.0.1 | test/end_to_end/rpm_signature_test.rb |