summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-06-02 08:52:38 +0300
committerKyrylo Silin <silin@kyrylo.org>2019-06-15 18:34:37 +0300
commit86dff47e91ae6faf3c684fcda7cd315581231d20 (patch)
tree7a354a701c08f419a22cababc9172ce01590cff5
parentbb5a8aedb569914aab277c8032a8ea38bdc5dfbe (diff)
downloadpry-86dff47e91ae6faf3c684fcda7cd315581231d20.tar.gz
spec_helper: randomize tests
-rw-r--r--spec/spec_helper.rb2
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