eadsax 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.rspec +1 -0
- data/.rvmrc +2 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +34 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +14 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/bin/eadsax +48 -0
- data/lib/eadsax.rb +75 -0
- data/lib/eadsax/accessrestrict.rb +15 -0
- data/lib/eadsax/accruals.rb +14 -0
- data/lib/eadsax/acqinfo.rb +14 -0
- data/lib/eadsax/address.rb +7 -0
- data/lib/eadsax/altformavail.rb +15 -0
- data/lib/eadsax/appraisal.rb +15 -0
- data/lib/eadsax/archdesc.rb +37 -0
- data/lib/eadsax/arrangement.rb +14 -0
- data/lib/eadsax/bibliography.rb +21 -0
- data/lib/eadsax/bioghist.rb +17 -0
- data/lib/eadsax/blockquote.rb +12 -0
- data/lib/eadsax/change.rb +8 -0
- data/lib/eadsax/chronitem.rb +9 -0
- data/lib/eadsax/chronlist.rb +9 -0
- data/lib/eadsax/components.rb +59 -0
- data/lib/eadsax/container.rb +8 -0
- data/lib/eadsax/controlaccess.rb +25 -0
- data/lib/eadsax/custodhist.rb +16 -0
- data/lib/eadsax/dao.rb +7 -0
- data/lib/eadsax/daodesc.rb +14 -0
- data/lib/eadsax/defitem.rb +8 -0
- data/lib/eadsax/did.rb +23 -0
- data/lib/eadsax/div.rb +15 -0
- data/lib/eadsax/dsc.rb +19 -0
- data/lib/eadsax/ead.rb +9 -0
- data/lib/eadsax/eadheader.rb +10 -0
- data/lib/eadsax/editionstmt.rb +8 -0
- data/lib/eadsax/filedesc.rb +11 -0
- data/lib/eadsax/fileplan.rb +15 -0
- data/lib/eadsax/frontmatter.rb +8 -0
- data/lib/eadsax/index.rb +17 -0
- data/lib/eadsax/indexentry.rb +21 -0
- data/lib/eadsax/list.rb +10 -0
- data/lib/eadsax/listhead.rb +8 -0
- data/lib/eadsax/namegrp.rb +17 -0
- data/lib/eadsax/note.rb +13 -0
- data/lib/eadsax/notestmt.rb +7 -0
- data/lib/eadsax/odd.rb +17 -0
- data/lib/eadsax/originalsloc.rb +15 -0
- data/lib/eadsax/origination.rb +22 -0
- data/lib/eadsax/otherfindaid.rb +21 -0
- data/lib/eadsax/phystech.rb +15 -0
- data/lib/eadsax/prefercite.rb +15 -0
- data/lib/eadsax/processinfo.rb +15 -0
- data/lib/eadsax/profiledesc.rb +9 -0
- data/lib/eadsax/publicationstmt.rb +11 -0
- data/lib/eadsax/relatedmaterial.rb +21 -0
- data/lib/eadsax/revisiondesc.rb +8 -0
- data/lib/eadsax/row.rb +7 -0
- data/lib/eadsax/scopecontent.rb +8 -0
- data/lib/eadsax/separatedmaterial.rb +21 -0
- data/lib/eadsax/seriesstmt.rb +9 -0
- data/lib/eadsax/table.rb +8 -0
- data/lib/eadsax/tbody.rb +7 -0
- data/lib/eadsax/tgroup.rb +9 -0
- data/lib/eadsax/thead.rb +7 -0
- data/lib/eadsax/titlepage.rb +22 -0
- data/lib/eadsax/titleproper.rb +8 -0
- data/lib/eadsax/titlestmt.rb +10 -0
- data/lib/eadsax/userestrict.rb +15 -0
- data/spec/accessrestrict_spec.rb +9 -0
- data/spec/acqinfo_spec.rb +8 -0
- data/spec/archdesc_spec.rb +9 -0
- data/spec/arrangement_spec.rb +11 -0
- data/spec/bioghist_spec.rb +23 -0
- data/spec/chronitem_spec.rb +11 -0
- data/spec/chronlist_spec.rb +11 -0
- data/spec/components_spec.rb +11 -0
- data/spec/controlaccess_spec.rb +11 -0
- data/spec/did_spec.rb +14 -0
- data/spec/dsc_spec.rb +11 -0
- data/spec/ead_spec.rb +9 -0
- data/spec/eadheader_spec.rb +9 -0
- data/spec/eads/example.xml +315 -0
- data/spec/eadsax_spec.rb +8 -0
- data/spec/filedesc_spec.rb +11 -0
- data/spec/prefercite_spec.rb +11 -0
- data/spec/profiledesc_spec.rb +11 -0
- data/spec/publicationstmt_spec.rb +11 -0
- data/spec/scopecontent_spec.rb +13 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/titleproper_spec.rb +11 -0
- data/spec/titlestmt_spec.rb +11 -0
- data/spec/userestrict_spec.rb +11 -0
- data/watchr.rb +34 -0
- metadata +274 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe "Controlaccess" do
|
4
|
+
before(:all) do
|
5
|
+
@controlaccess = @ead.archdesc.controlaccess
|
6
|
+
end
|
7
|
+
it "should be present" do
|
8
|
+
@controlaccess.should be_a_kind_of(Eadsax::Controlaccess)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
data/spec/did_spec.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe "Did" do
|
4
|
+
before(:all) do
|
5
|
+
@archdesc_did = @ead.archdesc.did
|
6
|
+
end
|
7
|
+
it "should be present" do
|
8
|
+
@archdesc_did.should be_a_kind_of(Eadsax::Did)
|
9
|
+
end
|
10
|
+
it 'should have container types when present' do
|
11
|
+
@ead.archdesc.dsc.c01s.first.c02s.first.did.container_types.should == ['Box', 'Folder']
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
data/spec/dsc_spec.rb
ADDED
data/spec/ead_spec.rb
ADDED
@@ -0,0 +1,315 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<ead xsi:schemaLocation="urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns="urn:isbn:1-931666-22-9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
3
|
+
<eadheader findaidstatus="Completed" repositoryencoding="iso15511" countryencoding="iso3166-1" dateencoding="iso8601" langencoding="iso639-2b">
|
4
|
+
<eadid url="http://www.lib.ncsu.edu/findingaids/mc00035">mc00035</eadid>
|
5
|
+
<filedesc>
|
6
|
+
<titlestmt>
|
7
|
+
<titleproper>Guide to the EAD SAX Papers,
|
8
|
+
<date calendar="gregorian" era="ce">2009-2010</date>
|
9
|
+
<num>LUE 00042</num>
|
10
|
+
</titleproper>
|
11
|
+
<author>Finding aid prepared by Jason Ronallo; Processed by: Paul Dix, April 2009</author>
|
12
|
+
<sponsor>The processing and encoding of this collection is supported by friends like you.</sponsor>
|
13
|
+
</titlestmt>
|
14
|
+
<publicationstmt>
|
15
|
+
<publisher>Special Collections Research Center</publisher>
|
16
|
+
<date>2010</date>
|
17
|
+
</publicationstmt>
|
18
|
+
</filedesc>
|
19
|
+
<profiledesc>
|
20
|
+
<creation>This finding aid was produced using the Archivists' Toolkit
|
21
|
+
<date>2010-01-06T16:51-0500</date>
|
22
|
+
</creation>
|
23
|
+
<langusage>Finding aid written in
|
24
|
+
<language encodinganalog="language">English</language></langusage>
|
25
|
+
</profiledesc>
|
26
|
+
</eadheader>
|
27
|
+
<archdesc level="collection">
|
28
|
+
<did>
|
29
|
+
<unittitle>Guide to the EAD SAX Papers</unittitle>
|
30
|
+
<unitid>LUE 00042</unitid>
|
31
|
+
<repository>
|
32
|
+
<corpname>Special Collections Research Center</corpname>
|
33
|
+
</repository>
|
34
|
+
<langmaterial>
|
35
|
+
<language langcode="eng"/>
|
36
|
+
</langmaterial>
|
37
|
+
<physdesc>
|
38
|
+
<extent>40.0 Linear feet</extent>
|
39
|
+
<extent>102 archival boxes</extent>
|
40
|
+
</physdesc>
|
41
|
+
<unitdate normal="2009/2010" type="inclusive">2009-2010</unitdate>
|
42
|
+
<abstract id="ref2" label="Abstract">Collection includes diaries.</abstract>
|
43
|
+
<physloc id="ref3" label="Location">For current information on the location of these materials, please consult the
|
44
|
+
<extref ns2:type="simple" ns2:href="http://www.lib.ncsu.edu/specialcollections/research/requestinformation.html">Special Collections Research Center Reference Staff</extref>.
|
45
|
+
</physloc>
|
46
|
+
<physdesc id="ref1" label="General Physical Description note">102 archival boxes</physdesc>
|
47
|
+
</did>
|
48
|
+
<bioghist id="ref4">
|
49
|
+
<head>Biographical Note</head>
|
50
|
+
<p>Dr.
|
51
|
+
<persname>Paul Dix</persname> was born in 1868 in
|
52
|
+
<geogname>Darmstadt, Germany</geogname>. The grandson of a chief forester, Schenck studied forestry at
|
53
|
+
<corpname normal="Tubingen University">Tubingen</corpname> University and entered the state forest service in
|
54
|
+
<geogname>Hessen</geogname> in 1890.</p>
|
55
|
+
<p>In 1898, with Vanderbilt's permission, the
|
56
|
+
<corpname>Biltmore Forest School</corpname> (BFS) opened.</p>
|
57
|
+
<chronlist>
|
58
|
+
<head>Chronology</head>
|
59
|
+
<chronitem>
|
60
|
+
<date>1868</date>
|
61
|
+
<event>Born, Darmstadt Germany</event>
|
62
|
+
</chronitem>
|
63
|
+
<chronitem>
|
64
|
+
<date>1886 - 1891</date>
|
65
|
+
<event>Studied forestry in Tubingen and Giessen Universities</event>
|
66
|
+
</chronitem>
|
67
|
+
</chronlist>
|
68
|
+
</bioghist>
|
69
|
+
<scopecontent id="ref7">
|
70
|
+
<head>Scope and Content</head>
|
71
|
+
<p>This collection provides a detailed look into the personal and professional life of
|
72
|
+
<persname>Paul Dix</persname>, the founder of the first American school of forestry. </p>
|
73
|
+
</scopecontent>
|
74
|
+
<arrangement id="ref8">
|
75
|
+
<head>Collection Organization</head>
|
76
|
+
<p>The collection is divided into 2 series. The first of these is
|
77
|
+
<ref ns2:show="embed" ns2:href="" target="ref14">Diaries</ref>.
|
78
|
+
</p>
|
79
|
+
</arrangement>
|
80
|
+
<accessrestrict id="ref9">
|
81
|
+
<head>Restrictions to Access</head>
|
82
|
+
<p>This collection is open for research; access requires at least 24 hours advance notice.</p>
|
83
|
+
</accessrestrict>
|
84
|
+
<acqinfo id="ref10">
|
85
|
+
<head>Acquisitions Information</head>
|
86
|
+
<p>The Carl Alwin Schenck Papers was received in a number of accessions from 1959 - 1990.</p>
|
87
|
+
</acqinfo>
|
88
|
+
<prefercite id="ref11">
|
89
|
+
<head>Preferred Citation</head>
|
90
|
+
<p>[Identification of Item], Carl Alwin Schenck Papers, MC 35, Special Collections Research Center, North Carolina State University Libraries, Raleigh, North Carolina.</p>
|
91
|
+
</prefercite>
|
92
|
+
<userestrict id="ref12">
|
93
|
+
<head>Copyright Notice</head>
|
94
|
+
<p>Who knows who owns copyright to this collection.</p>
|
95
|
+
</userestrict>
|
96
|
+
<controlaccess>
|
97
|
+
<corpname rules="aacr" source="naf">Biltmore Forest School.</corpname>
|
98
|
+
<persname rules="aacr" source="naf">Schenck, Carl Alwin, 1868-1955</persname>
|
99
|
+
<geogname source="lcnaf">Biltmore Forest (N.C.)</geogname>
|
100
|
+
<genreform source="aat">Diaries</genreform>
|
101
|
+
<subject source="lcsh">Forest products industry--North Carolina</subject>
|
102
|
+
</controlaccess>
|
103
|
+
<dsc>
|
104
|
+
<c01 id="ref14" level="series">
|
105
|
+
<did>
|
106
|
+
<unittitle>Diaries</unittitle>
|
107
|
+
<unitid>MC 00035 Series 01</unitid>
|
108
|
+
<physdesc>
|
109
|
+
<extent>6.0 Linear feet</extent>
|
110
|
+
</physdesc>
|
111
|
+
<unitdate normal="1890/1954" type="inclusive">1890 - 1954</unitdate>
|
112
|
+
<physdesc id="ref15" label="General Physical Description note">12 archival boxes</physdesc>
|
113
|
+
</did>
|
114
|
+
<scopecontent id="ref74">
|
115
|
+
<head>Scope and Contents note</head>
|
116
|
+
<p>The first series of the collection, the Diaries, records personal notes from
|
117
|
+
<corpname>Biltmore Estate</corpname></p>
|
118
|
+
</scopecontent>
|
119
|
+
<c02 id="ref16" level="file">
|
120
|
+
<did>
|
121
|
+
<unittitle></unittitle>
|
122
|
+
<container id="cid130634" type="Box" label="Mixed materials">1</container>
|
123
|
+
<container parent="cid130634" type="Folder">1</container>
|
124
|
+
<unitdate>1890 - 1895</unitdate>
|
125
|
+
</did>
|
126
|
+
<dao ns2:actuate="onRequest" ns2:show="embed" ns2:title="Digital Images" ns2:role="" ns2:href="http://www.lib.ncsu.edu/specialcollections/forestry/schenck/series_i/1890_1895/d1890_1895.html">
|
127
|
+
<daodesc>
|
128
|
+
<p>Digital Images</p>
|
129
|
+
</daodesc>
|
130
|
+
</dao>
|
131
|
+
</c02>
|
132
|
+
<c02 id="ref17" level="file">
|
133
|
+
<did>
|
134
|
+
<unittitle></unittitle>
|
135
|
+
<container id="cid130632" type="Box" label="Mixed materials">1</container>
|
136
|
+
<container parent="cid130632" type="Folder">2</container>
|
137
|
+
<unitdate>1895</unitdate>
|
138
|
+
</did>
|
139
|
+
</c02>
|
140
|
+
</c01>
|
141
|
+
<c01 id="ref75" level="series">
|
142
|
+
<did>
|
143
|
+
<unittitle>Correspondence</unittitle>
|
144
|
+
<unitid>MC 00035 Series 02</unitid>
|
145
|
+
<physdesc>
|
146
|
+
<extent>10.5 Linear feet</extent>
|
147
|
+
</physdesc>
|
148
|
+
<unitdate normal="1895/1955" type="inclusive">1895 - 1955</unitdate>
|
149
|
+
<physdesc id="ref76" label="General Physical Description note">21 archival boxes</physdesc>
|
150
|
+
</did>
|
151
|
+
<scopecontent id="ref520">
|
152
|
+
<head>Scope and Contents note</head>
|
153
|
+
<p>The Correspondence series includes all letters.</p>
|
154
|
+
</scopecontent>
|
155
|
+
<c02 id="ref77" level="subseries">
|
156
|
+
<did>
|
157
|
+
<unittitle>Professional</unittitle>
|
158
|
+
</did>
|
159
|
+
<c03 id="ref78" level="subseries">
|
160
|
+
<did>
|
161
|
+
<unittitle>
|
162
|
+
<corpname>Biltmore Estate and Forest</corpname></unittitle>
|
163
|
+
</did>
|
164
|
+
<c04 id="ref79" level="file">
|
165
|
+
<did>
|
166
|
+
<unittitle></unittitle>
|
167
|
+
<container id="cid130554" type="Box" label="Mixed materials">13</container>
|
168
|
+
<container parent="cid130554" type="Folder">1</container>
|
169
|
+
<unitdate>1895 - October, 1908</unitdate>
|
170
|
+
</did>
|
171
|
+
<dao ns2:actuate="onRequest" ns2:show="embed" ns2:title="Digital Images" ns2:role="" ns2:href="http://www.lib.ncsu.edu/specialcollections/forestry/schenck/series_ii/bef/1895_1908_oct/d1895_1908_oct.html">
|
172
|
+
<daodesc>
|
173
|
+
<p>Digital Images</p>
|
174
|
+
</daodesc>
|
175
|
+
</dao>
|
176
|
+
</c04>
|
177
|
+
<c04 id="ref80" level="file">
|
178
|
+
<did>
|
179
|
+
<unittitle></unittitle>
|
180
|
+
<container id="cid130552" type="Box" label="Mixed materials">13</container>
|
181
|
+
<container parent="cid130552" type="Folder">2</container>
|
182
|
+
<unitdate>November 1, 1908 - November 15, 1908</unitdate>
|
183
|
+
</did>
|
184
|
+
<dao ns2:actuate="onRequest" ns2:show="embed" ns2:title="Digital Images" ns2:role="" ns2:href="http://www.lib.ncsu.edu/specialcollections/forestry/schenck/series_ii/bef/1908_nov_01_15/d1908_nov_01_15.html">
|
185
|
+
<daodesc>
|
186
|
+
<p>Digital Images</p>
|
187
|
+
</daodesc>
|
188
|
+
</dao>
|
189
|
+
</c04>
|
190
|
+
</c03>
|
191
|
+
</c02>
|
192
|
+
<c02 id="ref97" level="subseries">
|
193
|
+
<did>
|
194
|
+
<unittitle>Forestry Colleagues</unittitle>
|
195
|
+
</did>
|
196
|
+
<c03 id="ref98" level="subseries">
|
197
|
+
<did>
|
198
|
+
<unittitle>
|
199
|
+
<persname>Brandis, Dietrich</persname></unittitle>
|
200
|
+
</did>
|
201
|
+
<c04 id="ref99" level="file">
|
202
|
+
<did>
|
203
|
+
<unittitle></unittitle>
|
204
|
+
<container id="cid130528" type="Box" label="Mixed materials">14</container>
|
205
|
+
<container parent="cid130528" type="Folder">1</container>
|
206
|
+
<unitdate>1895 - 1899</unitdate>
|
207
|
+
</did>
|
208
|
+
</c04>
|
209
|
+
<c04 id="ref100" level="file">
|
210
|
+
<did>
|
211
|
+
<unittitle></unittitle>
|
212
|
+
<container id="cid130527" type="Box" label="Mixed materials">14</container>
|
213
|
+
<container parent="cid130527" type="Folder">2</container>
|
214
|
+
<unitdate>1900 - 1907</unitdate>
|
215
|
+
</did>
|
216
|
+
</c04>
|
217
|
+
</c03>
|
218
|
+
<c03 id="ref101" level="file">
|
219
|
+
<did>
|
220
|
+
<unittitle>
|
221
|
+
<persname>Fernow, Bernhard</persname></unittitle>
|
222
|
+
<container id="cid130526" type="Box" label="Mixed materials">14</container>
|
223
|
+
<container parent="cid130526" type="Folder">3</container>
|
224
|
+
<unitdate>1896</unitdate>
|
225
|
+
</did>
|
226
|
+
</c03>
|
227
|
+
<c03 id="ref102" level="subseries">
|
228
|
+
<did>
|
229
|
+
<unittitle>
|
230
|
+
<persname>Olmstead, Frederick Law</persname></unittitle>
|
231
|
+
</did>
|
232
|
+
<c04 id="ref103" level="file">
|
233
|
+
<did>
|
234
|
+
<unittitle></unittitle>
|
235
|
+
<container id="cid130525" type="Box" label="Mixed materials">14</container>
|
236
|
+
<container parent="cid130525" type="Folder">4</container>
|
237
|
+
<unitdate>1907 - 1949</unitdate>
|
238
|
+
</did>
|
239
|
+
</c04>
|
240
|
+
<c04 id="ref104" level="file">
|
241
|
+
<did>
|
242
|
+
<unittitle></unittitle>
|
243
|
+
<container id="cid130524" type="Box" label="Mixed materials">14</container>
|
244
|
+
<container parent="cid130524" type="Folder">5</container>
|
245
|
+
<unitdate>1950</unitdate>
|
246
|
+
</did>
|
247
|
+
</c04>
|
248
|
+
<c04 id="ref105" level="file">
|
249
|
+
<did>
|
250
|
+
<unittitle></unittitle>
|
251
|
+
<container id="cid130523" type="Box" label="Mixed materials">14</container>
|
252
|
+
<container parent="cid130523" type="Folder">6</container>
|
253
|
+
<unitdate>1951</unitdate>
|
254
|
+
</did>
|
255
|
+
</c04>
|
256
|
+
<c04 id="ref106" level="file">
|
257
|
+
<did>
|
258
|
+
<unittitle></unittitle>
|
259
|
+
<container id="cid130522" type="Box" label="Mixed materials">14</container>
|
260
|
+
<container parent="cid130522" type="Folder">7</container>
|
261
|
+
<unitdate>1952</unitdate>
|
262
|
+
</did>
|
263
|
+
</c04>
|
264
|
+
<c04 id="ref107" level="file">
|
265
|
+
<did>
|
266
|
+
<unittitle></unittitle>
|
267
|
+
<container id="cid130521" type="Box" label="Mixed materials">14</container>
|
268
|
+
<container parent="cid130521" type="Folder">8</container>
|
269
|
+
<unitdate>1953 - 1954</unitdate>
|
270
|
+
</did>
|
271
|
+
</c04>
|
272
|
+
</c03>
|
273
|
+
<c03 id="ref108" level="subseries">
|
274
|
+
<did>
|
275
|
+
<unittitle>
|
276
|
+
<persname>Pinchot, Gifford</persname></unittitle>
|
277
|
+
</did>
|
278
|
+
<c04 id="ref109" level="file">
|
279
|
+
<did>
|
280
|
+
<unittitle></unittitle>
|
281
|
+
<container id="cid130520" type="Box" label="Mixed materials">14</container>
|
282
|
+
<container parent="cid130520" type="Folder">9</container>
|
283
|
+
<unitdate>1895 - 1899</unitdate>
|
284
|
+
</did>
|
285
|
+
</c04>
|
286
|
+
<c04 id="ref110" level="file">
|
287
|
+
<did>
|
288
|
+
<unittitle></unittitle>
|
289
|
+
<container id="cid130519" type="Box" label="Mixed materials">14</container>
|
290
|
+
<container parent="cid130519" type="Folder">10</container>
|
291
|
+
<unitdate>1900 - 1908</unitdate>
|
292
|
+
</did>
|
293
|
+
</c04>
|
294
|
+
</c03>
|
295
|
+
<c03 id="ref111" level="file">
|
296
|
+
<did>
|
297
|
+
<unittitle>
|
298
|
+
<persname>Price, Overton</persname></unittitle>
|
299
|
+
<container id="cid130518" type="Box" label="Mixed materials">14</container>
|
300
|
+
<container parent="cid130518" type="Folder">11</container>
|
301
|
+
</did>
|
302
|
+
</c03>
|
303
|
+
<c03 id="ref112" level="file">
|
304
|
+
<did>
|
305
|
+
<unittitle>
|
306
|
+
<persname>Schlich, William</persname></unittitle>
|
307
|
+
<container id="cid130517" type="Box" label="Mixed materials">14</container>
|
308
|
+
<container parent="cid130517" type="Folder">12</container>
|
309
|
+
</did>
|
310
|
+
</c03>
|
311
|
+
</c02>
|
312
|
+
</c01>
|
313
|
+
</dsc>
|
314
|
+
</archdesc>
|
315
|
+
</ead>
|
data/spec/eadsax_spec.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe "Profiledesc" do
|
4
|
+
before(:all) do
|
5
|
+
@profiledesc = @ead.eadheader.profiledesc
|
6
|
+
end
|
7
|
+
it "should be present" do
|
8
|
+
@profiledesc.should be_a_kind_of(Eadsax::Profiledesc)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe "Filedesc" do
|
4
|
+
|
5
|
+
it "should be present in the archdesc" do
|
6
|
+
@ead.archdesc.scopecontent.should be_a_kind_of(Eadsax::Scopecontent)
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should be present in c01" do
|
10
|
+
@ead.archdesc.dsc.c01s.first.scopecontent.should be_a_kind_of(Eadsax::Scopecontent)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|