lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.8 vs lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.9
- old
+ new
@@ -93,21 +93,24 @@
factory :language, class: DPLA::MAP::Controlled::Language do
initialize_with do
new('eng')
end
+ providedLabel 'English'
end
factory :dctype, class: DPLA::MAP::Controlled::DCMIType do
initialize_with do
new('Image')
end
+ providedLabel 'img'
end
factory :genre, class: DPLA::MAP::Controlled::Genre do
initialize_with do
new('300132472')
end
+ providedLabel 'Moomin'
end
end
if defined?(RSpec)
RSpec.configure do |config|