From f0ea293a433fd86913bdd4b0340600c8aeb655c2 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Mon, 22 Feb 2021 22:57:26 -0800 Subject: [PATCH] Enable saving rspec output for --only-failures --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cc014774..239e1802 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -120,6 +120,9 @@ RSpec.configure do |config| # use the config to use # t('some.locale.key') instead of always having to type I18n.t config.include AbstractController::Translation + + # enable debugging with --only-failures + config.example_status_persistence_file_path = 'tmp/spec_failures.txt' end OmniAuth.config.test_mode = true