Commit 1b6916ee5911912a4a8f6481a9e3af9ed2e98b64

Authored by Andrew Kane
1 parent b4a91133

Randomize document insertion in tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/test_helper.rb
... ... @@ -70,7 +70,7 @@ class MiniTest::Unit::TestCase
70 70 protected
71 71  
72 72 def store(documents)
73   - documents.each do |document|
  73 + documents.shuffle.each do |document|
74 74 Product.create!(document)
75 75 end
76 76 Product.index.refresh
... ...