diff options
author | Giorgenes Gelatti <ggelatti@gitlab.com> | 2019-08-01 10:55:42 +0300 |
---|---|---|
committer | Giorgenes Gelatti <ggelatti@gitlab.com> | 2019-08-11 07:13:38 +0300 |
commit | f74de0c144473b20bded6d236bfef0ca010fd0c4 (patch) | |
tree | 23d3112e4c542f1f58890144a9c0683122d82166 /spec | |
parent | 01b736fb050cf5375ca23785731831f4d3ad08c9 (diff) |
Allow to use focus: true in specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bcc133790d1..bd504f1553b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 |