Allow to use focus: true in specs

This commit is contained in:
Giorgenes Gelatti 2019-08-01 17:55:42 +10:00
parent 01b736fb05
commit f74de0c144

View file

@ -48,6 +48,9 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
quality_level = Quality::TestLevel.new
RSpec.configure do |config|
config.filter_run focus: true
config.run_all_when_everything_filtered = true
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
config.fixture_path = Rails.root