diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index 890561b4d64..b48dc1b6046 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -65,6 +65,10 @@ # Force colored output, whether or not the output is a TTY config.color_mode = :on + # Configures specs to run random but deterministic order + config.order = :random + Kernel.srand config.seed + # Force use of expect (over should) config.expect_with :rspec do |expectations| expectations.syntax = :expect