Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 3, 2020
1 parent dc0c4f8 commit cbc7f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/doi_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -938,9 +938,9 @@
} }

it "repairs data" do
Doi.repair_landing_page(doi.doi)
Doi.repair_landing_page(id: doi.id)

changed_doi = Doi.find(doi.id)
changed_doi = Doi.where(id: doi.id).first

expect(changed_doi.landing_page).to eq(fixed_landing_page)
end
Expand Down

0 comments on commit cbc7f07

Please sign in to comment.