lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.7 vs lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.8

- old
+ new

@@ -8,11 +8,11 @@ contributor { |person| person.association :agent, :strategy => :build } creator { |person| person.association :agent, :label => 'Davies, Diana (1938-)', :strategy => :build } date { |timespan| timespan.association :timespan, :strategy => :build } description 'Window of the Stonewall Bar N.Y. 1969. The other half of the graffiti was erased by the time Diana photographed it.' extent '10x12 cm' - format 'Silver Gelatin Print' + dcformat 'Silver Gelatin Print' genre { |genre| genre.association :genre, :strategy => :build } identifier '510d47e3-57d2-a3d9-e040-e00a18064a99' language { |language| language.association :language, :strategy => :build } spatial { |place| place.association :place, :strategy => :build } publisher { |agent| agent.association :agent, :label => 'Penguin Books', :strategy => :build } @@ -39,10 +39,10 @@ provider { |agent| agent.association :agent, :label => 'The New York Public Library', :strategy => :build } rightsStatement { ActiveTriples::Resource.new('http://creativecommons.org/publicdomain/mark/1.0/') } end factory :web_resource, class: DPLA::MAP::WebResource do - format 'image/tiff' + dcformat 'image/tiff' rights 'Public Domain' rightsStatement { ActiveTriples::Resource.new('http://creativecommons.org/publicdomain/mark/1.0/') } factory :preview do initialize_with { new('http://images.nypl.org/index.php?id=1582254&t=t') }