diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2019-06-02 08:52:38 +0300 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2019-06-15 18:34:37 +0300 |
commit | 86dff47e91ae6faf3c684fcda7cd315581231d20 (patch) | |
tree | 7a354a701c08f419a22cababc9172ce01590cff5 | |
parent | bb5a8aedb569914aab277c8032a8ea38bdc5dfbe (diff) | |
download | pry-86dff47e91ae6faf3c684fcda7cd315581231d20.tar.gz |
spec_helper: randomize tests
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9e19dc5a..e577528e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -37,6 +37,8 @@ if ENV["SET_TRACE_FUNC"] end RSpec.configure do |config| + config.order = 'random' + config.before(:each) do Pry::Testable.set_testenv_variables end |