spec/fixtures/iiif_responses.rb in blacklight-spotlight-0.33.1 vs spec/fixtures/iiif_responses.rb in blacklight-spotlight-0.33.2
- old
+ new
@@ -130,11 +130,14 @@
def test_manifest2
{
"@id": 'uri://for-manifest2',
"@type": 'sc:Manifest',
- "label": 'Test Manifest 2',
+ "label": {
+ "@value": 'Test Manifest 2',
+ "@language": 'en'
+ },
"attribution": 'Attribution Data',
"description": 'A test IIIF manifest',
"license": 'http://www.example.org/license.html',
"metadata": [
{
@@ -184,10 +187,19 @@
def test_manifest3
{
"@id": 'uri://for-manifest3',
"@type": 'sc:Manifest',
- "label": 'Test Manifest 3',
+ "label": [
+ {
+ "@value": 'Test Manifest 3',
+ "@language": 'en'
+ },
+ {
+ "@value": "Manifeste d'essai 3",
+ "@language": 'fr'
+ }
+ ],
"attribution": 'Attribution Data',
"description": 'A test IIIF manifest',
"license": 'http://www.example.org/license.html',
"metadata": [
{