From 05730269d4d2d690d871548ae3930d3ce20cdcad Mon Sep 17 00:00:00 2001 From: a14m Date: Thu, 3 Dec 2020 13:15:00 +0100 Subject: Randomize the order and stub constants used --- CLI/ruby/spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CLI/ruby/spec/spec_helper.rb') diff --git a/CLI/ruby/spec/spec_helper.rb b/CLI/ruby/spec/spec_helper.rb index b65df8e..890ca34 100644 --- a/CLI/ruby/spec/spec_helper.rb +++ b/CLI/ruby/spec/spec_helper.rb @@ -10,6 +10,8 @@ RSpec.configure do |config| # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! + config.order = :random + config.expect_with :rspec do |c| c.syntax = :expect end -- cgit v1.2.3