From 586fbd5c7d2b15ee409f0834cc8fe4035848052f Mon Sep 17 00:00:00 2001 From: Esther Jackson Date: Fri, 23 Sep 2022 16:37:07 -0400 Subject: [PATCH] cleans up white space --- app/models/concerns/academic_commons/desc_metadata.rb | 4 ++-- spec/models/concerns/academic_commons/desc_metadata_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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') }