diff --git a/hydra-core/spec/controllers/catalog_controller_spec.rb b/hydra-core/spec/controllers/catalog_controller_spec.rb index c3f9cedd3..2a85442a0 100644 --- a/hydra-core/spec/controllers/catalog_controller_spec.rb +++ b/hydra-core/spec/controllers/catalog_controller_spec.rb @@ -96,8 +96,8 @@ end it "should convert it" do graph = RDF::Graph.new << RDF::Reader.for(:ntriples).new(response.body) - title_statement = graph.query([nil, RDF::DC.title, nil]).first - related_statement = graph.query([nil, RDF::DC.isReferencedBy, nil]).first + title_statement = graph.query([nil, RDF::Vocab::DC.title, nil]).first + related_statement = graph.query([nil, RDF::Vocab::DC.isReferencedBy, nil]).first expect(title_statement.subject).to eq RDF::URI("http://hydra.box/catalog/#{asset.id}") expect(related_statement.object).to eq RDF::URI("http://hydra.box/catalog/#{related.id}") end