Skip to content

Commit

Permalink
Adds rspec.config randomize spec order
Browse files Browse the repository at this point in the history
  • Loading branch information
filipefurtad0 committed Jul 25, 2022
1 parent 4766c7a commit 5f16a84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/base_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,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
Expand Down

0 comments on commit 5f16a84

Please sign in to comment.