From 14b6837e8675970805ee9d45bbf71f82f1a30a2c Mon Sep 17 00:00:00 2001 From: Suzanne Vogt Date: Tue, 21 Sep 2021 15:29:59 -0400 Subject: [PATCH] Issue 1341 - DOI Record generates errors. (Fix rubocop offenses.) --- spec/requests/datacite_dois_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/datacite_dois_spec.rb b/spec/requests/datacite_dois_spec.rb index 5e9d80b39..2fcb94479 100644 --- a/spec/requests/datacite_dois_spec.rb +++ b/spec/requests/datacite_dois_spec.rb @@ -2582,7 +2582,7 @@ expect(last_response.status).to eq(201) expect(json.dig("data", "attributes", "doi")).to eq("10.14454/10703") - expect(json.dig("data", "attributes", "titles")).to eq([{"title" => "Referee report. For: RESEARCH-3482 [version 5; referees: 1 approved, 1 approved with reservations]"}]) + expect(json.dig("data", "attributes", "titles")).to eq([{ "title" => "Referee report. For: RESEARCH-3482 [version 5; referees: 1 approved, 1 approved with reservations]" }]) expect(json.dig("data", "attributes", "url")).to eq("http://www.bl.uk/pdf/patspec.pdf") expect(json.dig("data", "attributes", "source")).to eq("test") expect(json.dig("data", "attributes", "state")).to eq("findable")