Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross committed Dec 13, 2023
1 parent 6fed74b commit bf8c0d9
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 @@ -248,6 +248,7 @@
get "/dois?publisher=true", nil, headers

expect(last_response.status).to eq(200)
expect(json["data"].length).to eq(1)
json["data"].each do |doi|
expect(doi.dig("attributes", "publisher")).to eq(nil)
end
Expand All @@ -266,7 +267,6 @@
get "/dois/#{doi.doi}", nil, headers

expect(last_response.status).to eq(200)
expect(json["data"].length).to eq(1)
expect(json.dig("attributes", "publisher")).to eq(nil)
end

Expand Down

0 comments on commit bf8c0d9

Please sign in to comment.