about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDimitri Merejkowsky <dmerejkowsky@users.noreply.github.com>2019-11-19 17:22:40 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-11-19 17:22:40 +0100
commitcb3e9a293483b0efabd48f025d0b8feed438cc3e (patch)
tree1f026571709950d960ef4b0e379ec200eaadea6f
parente8de558ee77508d734efd2844c7326ab6a2984b6 (diff)
Store rspec statuses in .cache/rspec (#12427)
This allows using rspec with `--only-failures`
-rw-r--r--.cache/.gitkeep0
-rw-r--r--spec/spec_helper.rb1
2 files changed, 1 insertions, 0 deletions
diff --git a/.cache/.gitkeep b/.cache/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/.cache/.gitkeep
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