mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-30 20:04:27 -04:00
Store spec failures, for rspec --only-failures
The list of failing tests is stored in tmp/examples.txt, which is already gitignored.
This commit is contained in:
@@ -85,4 +85,7 @@ RSpec.configure do |config|
|
||||
# test failures related to randomization by passing the same `--seed` value
|
||||
# as the one that triggered the failure.
|
||||
Kernel.srand config.seed
|
||||
|
||||
# Remember which tests failed, so you can run rspec with the `--only-failures` flag.
|
||||
config.example_status_persistence_file_path = "tmp/examples.txt"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user