Skip to content

Commit

Permalink
Issue 1341 - DOI Record generates errors. (Update a test to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed Sep 21, 2021
1 parent 8ff1196 commit d53cb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/datacite_dois_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d53cb9d

Please sign in to comment.