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 Oct 31, 2022
1 parent 8b73660 commit 6339865
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 @@ -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
Expand Down

0 comments on commit 6339865

Please sign in to comment.