Created
August 1, 2014 20:38
-
-
Save jeremy/2ce7566243b2389567b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CI runs tests in order so it gets nice diffable output. | |
if ENV['CI'] | |
# Minitest always forces test suites to shuffle. Hack it. | |
class Minitest::Runnable | |
class NonShufflingArray < Array | |
def shuffle | |
self | |
end | |
end | |
def self.reset | |
@@runnables = NonShufflingArray.new | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment