Sha256: 02607a40ef923e389ee5dded6add226f7cd92ec00c4dbbd1ee61ed381925266e
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
require 'test_helper' describe Rupert::RPM::Signature::Index do let(:entry) { Rupert::RPM::Signature::Entry.new(1234, 7, 567, 890) } let(:entries) { { entry.tag => entry } } let(:store) { mock } let(:index) { Rupert::RPM::Signature::Index.new(entries, store) } it "retrieves binary data marked with a specific tag from the store" do store.expects(:fetch).once.with(entry) index.get(entry.tag) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rupert-0.0.1 | test/unit/rpm/signature/index_test.rb |