From 2d06d92b579b424f2d7f9169b6ab4c3ab00bbabb Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 4 May 2020 11:37:33 +0200 Subject: [PATCH] fix test --- spec/requests/dois_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/dois_spec.rb b/spec/requests/dois_spec.rb index 771c0570d..5ef858818 100644 --- a/spec/requests/dois_spec.rb +++ b/spec/requests/dois_spec.rb @@ -187,7 +187,7 @@ expect(result.dig('attributes', 'doi')).to eq(doi.doi.downcase) expect(result.dig('attributes', 'titles')).to eq(doi.titles) expect(result.dig('attributes', 'identifiers')).to eq([{"identifier"=>"Ollomo B, Durand P, Prugnolle F, Douzery EJP, Arnathau C, Nkoghe D, Leroy E, Renaud F (2009) A new malaria agent in African hominids. PLoS Pathogens 5(5): e1000446.", "identifierType"=>"citation"}]) - expect(result.dig('attributes', 'alternateIdentifiers')).to eq([{"identifier"=>"Ollomo B, Durand P, Prugnolle F, Douzery EJP, Arnathau C, Nkoghe D, Leroy E, Renaud F (2009) A new malaria agent in African hominids. PLoS Pathogens 5(5): e1000446.", "identifierType"=>"citation"}]) + expect(result.dig('attributes', 'alternateIdentifiers')).to eq([{"alternateIdentifier"=>"Ollomo B, Durand P, Prugnolle F, Douzery EJP, Arnathau C, Nkoghe D, Leroy E, Renaud F (2009) A new malaria agent in African hominids. PLoS Pathogens 5(5): e1000446.", "alternateIdentifierType"=>"citation"}]) # expect(result.dig('relationships','citations', 'data')).to be_empty end end