diff --git a/app/models/concerns/academic_commons/desc_metadata.rb b/app/models/concerns/academic_commons/desc_metadata.rb index aefef609..1ec60a33 100644 --- a/app/models/concerns/academic_commons/desc_metadata.rb +++ b/app/models/concerns/academic_commons/desc_metadata.rb @@ -19,11 +19,11 @@ module DescMetadata 'software, multimedia' => 'Software', 'mixed material' => 'Mixed media' }.freeze - + GENRE_TYPES = { 'learning object' => 'Learning Objects' }.freeze - + DEGREE_LABELS = { '0' => 'Bachelor\'s', '1' => 'Master\'s', diff --git a/spec/models/concerns/academic_commons/desc_metadata_spec.rb b/spec/models/concerns/academic_commons/desc_metadata_spec.rb index e07df605..b3f7f5cc 100644 --- a/spec/models/concerns/academic_commons/desc_metadata_spec.rb +++ b/spec/models/concerns/academic_commons/desc_metadata_spec.rb @@ -62,7 +62,7 @@ def pid; end include_examples 'indexing mods' end - + context 'contains mapped genre value' do let(:mods_fixture) { fixture_to_str('desc_metadata/genre_mapping.xml') } let(:expected_json) { fixture_to_json('desc_metadata/genre_mapping.json') }