diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index cc4dc35e65..19206bd0b5 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -142,6 +142,9 @@ RSpec.configure do |config| config.infer_spec_type_from_file_location! + # You can use `rspec -n` to run only failed specs. + config.example_status_persistence_file_path = "tmp/rspec-status.txt" + # Helpers config.include FactoryBot::Syntax::Methods config.include JsonSpec::Helpers diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index da264f58e3..5422778d4a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,7 +12,4 @@ RSpec.configure do |config| # Fix encoding issue in Rails 5.0; allows passing empty arrays or hashes as params. config.before(:each, type: :controller) { @request.env["CONTENT_TYPE"] = 'application/json' } - - # You can use `rspec -n` to run only failed specs. - config.example_status_persistence_file_path = "tmp/rspec-status.txt" end