Sha256: bcd3fc703abf56345895764aebc93833884258d7a355a91b3a0d064cde8cc939
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' describe "EAD XML with nested levels" do let(:doc) { Eader::Document.new('./spec/support/nested_levels.xml') } it "returns the nested items" do doc.should have(1).items i = doc.items.first i.unitid.should == '1_ESS' end it "returns the series" do doc.should have(1).series end it "returns the subseries" do doc.should have(1).subseries end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eader-0.0.4 | spec/nested_levels_spec.rb |
eader-0.0.3 | spec/nested_levels_spec.rb |