rspec/rspec-core — pull request #717 by samphippen (2012-10-18 22:18:30+00:00)
Title: Randomize file load order if a random seed is used

Hello, this is related to #715

The issue seems to be caused when files are specified in different orders on the rspec command line. I have made it so that regardless of what order files are specified in on the command line, if a seed is present the file list will be randomised using that seed.

I note this may break some spec suites using random ordering where file load order has caused some state to be set in an earlier file that then is required in a later file, this may not have been noticed if the files are always being loaded in the same order.