Skip to content

Commit

Permalink
Fix non-deterministic test order
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Sep 19, 2023
1 parent 13a1668 commit c4861b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/fingerprint_self_test_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

describe Recog::DB do
let(:schema) { Nokogiri::XML::Schema(open(File.join(FINGERPRINT_DIR, 'fingerprints.xsd'))) }
Dir[File.join(FINGERPRINT_DIR, '*.xml')].each do |xml_file_name|
Dir[File.join(FINGERPRINT_DIR, '*.xml')].sort.each do |xml_file_name|
describe "##{File.basename(xml_file_name)}" do
it 'is valid XML' do
doc = Nokogiri::XML(open(xml_file_name))
Expand Down

0 comments on commit c4861b2

Please sign in to comment.