Skip to content

Commit 4911362

Browse files
committed
TIMDEX links to sym
1 parent 2738512 commit 4911362

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/models/normalize_timdex_record.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def normalize
1313
source:,
1414
year:,
1515
format:,
16-
'links' => links,
16+
links:,
1717
'citation' => citation,
1818
'identifier' => identifier,
1919
'summary' => summary,

test/models/normalize_timdex_record_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ def minimal_record
8888
'text' => 'View full record'
8989
}
9090
]
91-
assert_equal expected_links, normalized['links']
91+
assert_equal expected_links, normalized[:links]
9292
end
9393

9494
test 'handles missing links' do
9595
normalized = NormalizeTimdexRecord.new(minimal_record, 'test').normalize
96-
assert_empty normalized['links']
96+
assert_empty normalized[:links]
9797
end
9898

9999
test 'normalizes citation' do

0 commit comments

Comments
 (0)