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:
Miles Gould
2017-02-16 13:24:50 +00:00
parent 82e27f8a71
commit 738c0d4e08

View File

@@ -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