mirror of
https://github.com/usetrmnl/trmnl-api.git
synced 2026-04-29 13:35:13 -07:00
Updated RSpec seed configuration
Necessary to ensure repeatable sequences of pseudo-random numbers between different runs of the test suite is used for the seed. This improves the ability to reliable rerun specs by using a more deterministic seed value. Milestone: patch
This commit is contained in:
@@ -49,4 +49,6 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.before(:suite) { Dry::Monads.load_extensions :rspec }
|
||||
|
||||
Kernel.srand config.seed
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user