Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 24, 2020
1 parent 91db012 commit d74b229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/doi_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"}])
Expand Down

0 comments on commit d74b229

Please sign in to comment.