spec/readers/crossref_reader_spec.rb in bolognese-0.9.19 vs spec/readers/crossref_reader_spec.rb in bolognese-0.9.20
- old
+ new
@@ -136,10 +136,9 @@
end
it "not found error" do
input = "https://doi.org/10.7554/elife.01567x"
subject = Bolognese::Metadata.new(input: input)
- expect(subject.id).to be_nil
- expect(subject.exists?).to be false
+ expect(subject.valid?).to be false
end
end
end