From d74b229d1a295bbb8729f6c267647187c0ff4435 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 24 Aug 2020 14:32:25 +0200 Subject: [PATCH] fix specs --- spec/models/doi_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/doi_spec.rb b/spec/models/doi_spec.rb index 83e0b63de..005a2428d 100644 --- a/spec/models/doi_spec.rb +++ b/spec/models/doi_spec.rb @@ -809,7 +809,7 @@ # removing duplicate dois in citation_ids, citation_count and citations_over_time (different relation_type_id) it "has citations" do - expect(doi.citations.count).to eq(3) + expect(doi.citations.count).to eq(2) expect(doi.citation_ids.count).to eq(2) expect(doi.citation_count).to eq(2) expect(doi.citations_over_time).to eq([{"total"=>1, "year"=>"2015"}, {"total"=>1, "year"=>"2016"}])