spec/relaton/registry_spec.rb in relaton-1.14.1 vs spec/relaton/registry_spec.rb in relaton-1.14.2

- old
+ new

@@ -98,9 +98,14 @@ end it "OASIS" do expect(Relaton::Registry.instance.by_type("OASIS")).to be_instance_of RelatonOasis::Processor end + + it "DOI" do + expect(Relaton::Registry.instance.by_type("DOI")).to be_instance_of RelatonDoi::Processor + expect(Relaton::Registry.instance.processor_by_ref("doi:10.1000/182")).to be_instance_of RelatonDoi::Processor + end end it "find processot by dataset" do expect(Relaton::Registry.instance .find_processor_by_dataset("nist-tech-pubs"))