spec/cli_spec.rb in maltese-0.8.6 vs spec/cli_spec.rb in maltese-0.8.8

- old
+ new

@@ -14,9 +14,9 @@ subject.options = cli_options expect { subject.sitemap }.to output(/1001 links/).to_stdout sitemap = Zlib::GzipReader.open("public/sitemaps/sitemap.xml.gz") { |gz| gz.read } doc = Nokogiri::XML(sitemap) expect(doc.xpath("//xmlns:url").size).to eq(1001) - expect(doc.xpath("//xmlns:loc").last.text).to eq("https://search.test.datacite.org/works/10.17863/cam.1255") + expect(doc.xpath("//xmlns:loc").last.text).to eq("https://search.test.datacite.org/works/10.1002/jcb.29244") end end end