From fc4f332ba57c23c5d949159b343449171dc7f567 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 23 Feb 2020 20:58:35 +0100 Subject: [PATCH] fix spec --- spec/requests/works_spec.rb | 1 - 1 file changed, 1 deletion(-) 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)