diff options
author | Giorgenes Gelatti <ggelatti@gitlab.com> | 2019-08-01 17:55:42 +1000 |
---|---|---|
committer | Giorgenes Gelatti <ggelatti@gitlab.com> | 2019-08-11 14:13:38 +1000 |
commit | f74de0c144473b20bded6d236bfef0ca010fd0c4 (patch) | |
tree | 23d3112e4c542f1f58890144a9c0683122d82166 | |
parent | 01b736fb050cf5375ca23785731831f4d3ad08c9 (diff) | |
download | gitlab-ce-f74de0c144473b20bded6d236bfef0ca010fd0c4.tar.gz |
Allow to use focus: true in specs
-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 |