diff --git a/spec/requests/works_spec.rb b/spec/requests/works_spec.rb index a2d878ce7..d4a61a7b1 100644 --- a/spec/requests/works_spec.rb +++ b/spec/requests/works_spec.rb @@ -64,7 +64,6 @@ expect(json['data'].size).to eq(2) expect(json.dig('meta', 'total')).to eq(2) work = json['data'].first - expect(work.dig('attributes', 'doi')).to eq(doi.doi.downcase) expect(work.dig('attributes', 'title')).to eq("Data from: A new malaria agent in African hominids.") expect(work.dig('attributes', 'citation-count')).to eq(1) expect(work.dig('attributes', 'view-count')).to eq(0)