Skip to content

Commit c73db51

Browse files
committed
rspec
1 parent acb831a commit c73db51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/metanorma/refs_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@
7171
out = Nokogiri::XML(Asciidoctor.convert(input, *OPTIONS))
7272
expect(out.xpath("//xmlns:references/xmlns:bibitem/@id")
7373
.map(&:value))
74-
.to be_equivalent_to ["ref3", "ref6", "ref5", "ref2", "ref4", "ref1"]
74+
.to be_equivalent_to ["ref4", "ref1", "ref3", "ref6", "ref5", "ref2"]
7575
end
7676

7777
VCR.use_cassette "sortrefs" do
7878
out = Nokogiri::XML(Asciidoctor.convert(input
7979
.sub("== Bibliography", "== Normative References"), *OPTIONS))
8080
expect(out.xpath("//xmlns:references/xmlns:bibitem/@id")
8181
.map(&:value))
82-
.to be_equivalent_to ["ref3", "ref6", "ref5", "ref2", "ref4", "ref1"]
82+
.to be_equivalent_to ["ref4", "ref1", "ref3", "ref6", "ref5", "ref2"]
8383
end
8484
end
8585
end

0 commit comments

Comments
 (0)