Sha256: 684bd3887286d1b73b88d43824b7b6ab27baae822aba44c1eab43f96f35b944c
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require 'test_helper' describe Rupert::RPM::Signature::Store do let(:raw_io) { io(ascii("\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a")) } let(:entry) { Rupert::RPM::Signature::Entry.new(nil, 7, 4, 5) } let(:store) { Rupert::RPM::Signature::Store.new(raw_io) } it "fetches a raw chunck of data given the entry that points to it" do data = store.fetch(entry) data.must_equal ascii("\x04\x05\x06\x07\x08") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rupert-0.0.1 | test/unit/rpm/signature/store_test.rb |