From cb3e9a293483b0efabd48f025d0b8feed438cc3e Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Tue, 19 Nov 2019 17:22:40 +0100 Subject: [PATCH] Store rspec statuses in .cache/rspec (#12427) This allows using rspec with `--only-failures` --- .cache/.gitkeep | 0 spec/spec_helper.rb | 1 + 2 files changed, 1 insertion(+) create mode 100644 .cache/.gitkeep diff --git a/.cache/.gitkeep b/.cache/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 45ba1bbd9..e57349cc8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,6 +12,7 @@ end gc_counter = -1 RSpec.configure do |config| + config.example_status_persistence_file_path = ".cache/rspec" config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end